Skip to content
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

Allow keyboard navigation to dialog's scroll region #4000

Merged
merged 6 commits into from
Dec 12, 2023

Conversation

strackoverflow
Copy link
Member

@strackoverflow strackoverflow commented Dec 1, 2023

Closes https://github.com/github/accessibility-audits/issues/5565 (GitHub staff only)

This pull request fixes an accessibility issue in Dialog where the dialog's scrollable body could not be focused with the keyboard, preventing keyboard users from navigating to the dialog content.

Changelog

New

Changed

Fix an issue where the scrollable Dialog body could not be focused with the keyboard.

Removed

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan

Testing & Reviewing

Merge checklist

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@strackoverflow strackoverflow self-assigned this Dec 1, 2023
Copy link

changeset-bot bot commented Dec 1, 2023

🦋 Changeset detected

Latest commit: b9f520b

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 Dec 1, 2023

size-limit report 📦

Path Size
dist/browser.esm.js 105.54 KB (+0.12% 🔺)
dist/browser.umd.js 106.13 KB (+0.14% 🔺)

@github-actions github-actions bot temporarily deployed to storybook-preview-4000 December 7, 2023 17:03 Inactive
@strackoverflow strackoverflow marked this pull request as ready for review December 8, 2023 20:18
@strackoverflow strackoverflow requested review from a team and langermank December 8, 2023 20:18
Copy link
Member

@joshblack joshblack left a comment

Choose a reason for hiding this comment

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

Looks great! Just had one comment 👀

src/internal/components/ScrollableRegion.tsx Show resolved Hide resolved
Co-authored-by: Josh Black <joshblack@github.com>
@strackoverflow strackoverflow added this pull request to the merge queue Dec 12, 2023
Merged via the queue into main with commit a416298 Dec 12, 2023
29 checks passed
@strackoverflow strackoverflow deleted the dialog-scroll-region branch December 12, 2023 21:20
This was referenced Dec 12, 2023
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.

2 participants