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

Improve dialog and pop-over accessibility #86

Open
dcalhoun opened this issue Feb 10, 2025 · 0 comments
Open

Improve dialog and pop-over accessibility #86

dcalhoun opened this issue Feb 10, 2025 · 0 comments
Assignees
Labels
[Type] Enhancement A suggestion for improvement.

Comments

@dcalhoun
Copy link
Member

What problem does this address?

When opening a dialog (e.g., block inserter, block settings) or pop-over menu (e.g., block alignment, block actions), screen readers can move focus outside of the element group. This decreases the usability of the interface, as it is difficult to comprehend the current state of the UI. We should ensure that UI outside of the currently displayed dialog or pop-over is hidden from screen readers.

It appears the lack of focus trapping in relation to HTML UI may be an issue within core Gutenberg.

What is your proposed solution?

Done is:

  • When a dialog/pop-over is open, focus cannot be moved to other HTML UI (e.g., block canvas content).
  • When a dialog/pop-over is open, focus cannot be moved to other native UI (e.g., top navigation).
@dcalhoun dcalhoun added the [Type] Enhancement A suggestion for improvement. label Feb 10, 2025
@dcalhoun dcalhoun self-assigned this Feb 10, 2025
@dcalhoun dcalhoun added [Type] Task Issues or PRs that have been broken down into an individual action to take and removed [Type] Task Issues or PRs that have been broken down into an individual action to take labels Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

1 participant