-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Labels
Accessibilityissues related to accessibility (a11y)issues related to accessibility (a11y)P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: routerfreq3: highopen for contributionsAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).
Milestone
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 RouterLinkActive.
Describe alternatives you've considered
<a #fruitsLink="routerLinkActive" routerLinkActive="active" #fruitsRouterLink="routerLinkActive" [attr.aria-current]="fruitsRouterLink.isActive ? 'Page': undefined" title="fruits" routerLink="/fruits" >Fruits 🍓</a>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Accessibilityissues related to accessibility (a11y)issues related to accessibility (a11y)P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: routerfreq3: highopen for contributionsAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).