Skip to content

Conversation

TylerJDev
Copy link
Member

@TylerJDev TylerJDev commented Mar 14, 2024

Will resolve: https://github.com/github/accessibility-audits/issues/6932

We have an open accessibility issue related to how we handle aria-expanded within AnchoredOverlay. We did not apply aria-expanded when a menu was open since it was redundant, and it was very unlikely that there'd be navigation outside of the menu before it was closed. We've received feedback that this may cause an unintended effect for users using specific devices/AT that makes it difficult to leave the menu.

Changelog

Changed

  • Adds full aria-expanded state to AnchoredOverlay.

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; if selected, include a brief description as to why

Testing & Reviewing

Merge checklist

Copy link

changeset-bot bot commented Mar 14, 2024

🦋 Changeset detected

Latest commit: 7cc9d42

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Mar 14, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 87.38 KB (-0.16% 🔽)
packages/react/dist/browser.umd.js 87.75 KB (+0.03% 🔺)

@github-actions github-actions bot temporarily deployed to storybook-preview-4394 March 14, 2024 19:21 Inactive
@TylerJDev TylerJDev added this pull request to the merge queue Mar 19, 2024
Merged via the queue into main with commit cc9b98a Mar 19, 2024
@TylerJDev TylerJDev deleted the tylerjdev/add-aria-expanded-state branch March 19, 2024 13:38
@primer primer bot mentioned this pull request Mar 19, 2024
@siddharthkp siddharthkp mentioned this pull request Apr 2, 2024
4 tasks
siddharthkp added a commit that referenced this pull request Apr 2, 2024
github-merge-queue bot pushed a commit that referenced this pull request Apr 2, 2024
lukasoppermann pushed a commit that referenced this pull request Apr 16, 2024
* Adds `aria-expanded="false"` back to `AnchoredOverlay`

* Add changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants