-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(cdk-experimental/accordion): removes inert attribute from accordion trigger #31817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(cdk-experimental/accordion): removes inert attribute from accordion trigger #31817
Conversation
Deployed dev-app for c9137b5 to: https://ng-dev-previews-comp--pr-angular-components-31817-dev-zw5u7i9a.web.app Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt. |
9af7554
to
5b4c1de
Compare
LGTM - just please make sure to rebase to just a single fix commit with the actual line removal. I added @wagnermaciel as FYI but you can just ping him and see if he has any other thoughts (and/oror remove him if already discussed) but seems like a great simple fix. Thanks! |
5b4c1de
to
5923f20
Compare
20fd9a6
to
58345bb
Compare
…on trigger Updates accordion trigger attributes by removing the inert attribute to allow for screen readers to reference the aria-labelledby id value of the trigger when associating it with the accordion content panel. Fixes b/438312273 fix(cdk-experimental/accordion): removes inert attribute from accordion trigger Removes the inert attribute from accordion trigger to enable screen readers to access the accordion trigger id and aria attributes to be able to announce more helpful/informative screen reader messages to the user. Fixes b/438312273
58345bb
to
c9137b5
Compare
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. |
Updates accordion trigger attributes by removing the inert attribute to allow for screen readers to correctly reference the aria-labelledby id value of a disabled accordion trigger when associating it with a accordion content panel. Additionally, when moving focus to the disabled trigger, removing the inert attribute allows for the button's state to be announced (ie. disabled, collapsed/expanded).
Fixes b/438312273