Title: [a11y] - Document best practice for use of aria-current with RouterLink / RouterLinkActive · Issue #35051 · angular/angular · GitHub
Open Graph Title: [a11y] - Document best practice for use of aria-current with RouterLink / RouterLinkActive · Issue #35051 · angular/angular
X Title: [a11y] - Document best practice for use of aria-current with RouterLink / RouterLinkActive · Issue #35051 · angular/angular
Description: 🚀 feature request Relevant Package This feature request is for @angular/router Description RouterLinkActive adds a class to the element, it should add the aria-current attribute which must be set to 'Page' when isActive is true in the Ro...
Open Graph Description: 🚀 feature request Relevant Package This feature request is for @angular/router Description RouterLinkActive adds a class to the element, it should add the aria-current attribute which must be set t...
X Description: 🚀 feature request Relevant Package This feature request is for @angular/router Description RouterLinkActive adds a class to the element, it should add the aria-current attribute which must be set t...
Opengraph URL: https://github.com/angular/angular/issues/35051
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[a11y] - Document best practice for use of aria-current with RouterLink / RouterLinkActive","articleBody":"# 🚀 feature request\r\n\r\n### Relevant Package\r\nThis feature request is for @angular/router\r\n\r\n### Description\r\n`RouterLinkActive` adds a class to the element, it should add the `aria-current` attribute which must be set to `'Page'` when `isActive` is true in the `RouterLinkActive`.\r\n\r\n### Describe alternatives you've considered\r\n```\r\n\u003ca #fruitsLink=\"routerLinkActive\" routerLinkActive=\"active\" #fruitsRouterLink=\"routerLinkActive\" [attr.aria-current]=\"fruitsRouterLink.isActive ? 'Page': undefined\" title=\"fruits\" routerLink=\"/fruits\" >Fruits 🍓\u003c/a>\r\n```\r\n","author":{"url":"https://github.com/ibenjelloun","@type":"Person","name":"ibenjelloun"},"datePublished":"2020-01-30T09:39:35Z","url":"https://github.com/angular/angular/issues/35051"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c0098a1a-7160-c4bd-419b-ce19874d88db |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B93E:19AA62:170A6A8:1D48696:6B0138FE |
| html-safe-nonce | 825c67b9f2f1e584be8acfd2544b4115c8c86e07495eeb7d568954ba3b03e72a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTNFOjE5QUE2MjoxNzBBNkE4OjFENDg2OTY6NkIwMTM4RkUiLCJ2aXNpdG9yX2lkIjoiMjczOTg3NTk1MTkyMjk4NTIxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3cf7a50570747967f5fd5e42f0352f3122f6ff5aec378647c4022bace07f6626 |
| hovercard-subject-tag | issue:557372912 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/35051/issue_layout |
| twitter:image | https://opengraph.githubassets.com/53cf24ccb80f2ff05eaff9c6bd02b29f0b3bdff55bd800ae45582ba728e86c41/angular/angular/issues/35051 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/53cf24ccb80f2ff05eaff9c6bd02b29f0b3bdff55bd800ae45582ba728e86c41/angular/angular/issues/35051 |
| og:image:alt | 🚀 feature request Relevant Package This feature request is for @angular/router Description RouterLinkActive adds a class to the element, it should add the aria-current attribute which must be set t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ibenjelloun |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width