Skip to content

Conversation

@kirsty-hames
Copy link
Contributor

Fixes #658

Update

  • Remove aria-expanded from Drawer <dialog> as this serves no purpose and it is not the intended use.

When testing with a screen reader, the 'expanded' state wasn't announced so removing this doesn't have an impact on the reading however updating inline with accessibility best practice. See MDN note for reference below or refer to the issue description.

Note: The presence of the aria-expanded attribute indicates control. Avoid including it on elements that do not control the expanded state of other elements.

@oliverfoster
Copy link
Member

Is this not included in #663 already?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

@kirsty-hames
Copy link
Contributor Author

#663

Good spot! Yes it is - I'll update #663 to include issue #658 in the PR description and close this PR.

@kirsty-hames
Copy link
Contributor Author

Closing as fix included in #663 already.

@github-project-automation github-project-automation bot moved this from Needs Reviewing to Recently Released in adapt_framework: The TODO Board May 13, 2025
@kirsty-hames kirsty-hames deleted the issue/658 branch May 15, 2025 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improper use of aria-expanded for drawer dialog

4 participants