Skip to content

Conversation

essjay05
Copy link
Contributor

@essjay05 essjay05 commented Sep 3, 2025

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

@essjay05 essjay05 added the dev-app preview When applied, previews of the dev-app are deployed to Firebase label Sep 3, 2025
Copy link

github-actions bot commented Sep 3, 2025

Deployed dev-app for 5b4c1de 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.

@essjay05 essjay05 marked this pull request as ready for review September 3, 2025 19:44
@essjay05 essjay05 requested a review from a team as a code owner September 3, 2025 19:44
@essjay05 essjay05 requested review from mmalerba and andrewseguin and removed request for a team September 3, 2025 19:44
…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
…cordion trigger

Updates previous fix to remove the inert attribute from the
accordion trigger after confirming using the dev-app to test
how the screen reader announces the disabled trigger with
its associated expanded panel.
@adolgachev
Copy link
Contributor

adolgachev commented Sep 5, 2025

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-app preview When applied, previews of the dev-app are deployed to Firebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants