feat(router): add ariaCurrentWhenActive input to RouterLinkActive directive#45167
feat(router): add ariaCurrentWhenActive input to RouterLinkActive directive#45167dario-piotrowicz wants to merge 1 commit intoangular:masterfrom
Conversation
|
@atscott This PR is still in draft, but I was wondering if you'd like to have a quick initial look to see if I am going into the right direction 🙂 |
0eac59f to
3d805c7
Compare
|
TODOs:
|
48405eb to
5f87e2f
Compare
d8bfaa0 to
0eea389
Compare
0eea389 to
21d0c88
Compare
atscott
left a comment
There was a problem hiding this comment.
Some small comments but otherwise LGTM. Adding my approval so this can move forward to public API review.
bbe7380 to
fff230d
Compare
|
@atscott I'm so sorry one commit got somehow lost in my other notebook and what you reviewed was missing some changes, I have amended the thing (but had to rebase and squash the commits 😓), please have another look, so sorry for the inconvenience 😓 |
jessicajaniuk
left a comment
There was a problem hiding this comment.
LGTM 🍪
reviewed-for: fw-animations, public-api
dylhunn
left a comment
There was a problem hiding this comment.
reviewed-for: public-api
atscott
left a comment
There was a problem hiding this comment.
reviewed-for: public-api
ec43678 to
f552300
Compare
|
@atscott From reading the above thread, it sounds like we decided to stick with this approach? Please let me know if it needs to be merged (after the one docs comment is fixed), thanks :) |
f552300 to
7e9017e
Compare
…ective add the ariaCurrentWhenActive input to the RouterLinkActive directive so that users can easily set the aria-current property to their active router links resolves angular#35051
7e9017e to
d8ab42d
Compare
|
This PR was merged into the repository by commit dea8c86. |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
add the ariaCurrentWhenActive input to the RouterLinkActive directive so that
users can easily set the aria-current property to their active router
links
resolves #35051
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #35051
No build-in way to set the aria-current attribute to active routerLinks is present
What is the new behavior?
A new option has been added to the RouterLinkActive directive which sets the aria-current value when the link is active
Does this PR introduce a breaking change?
Other information