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

List View: Ensure consistent focus when closing the list view when no blocks are selected #54165

Closed
andrewserong opened this issue Sep 5, 2023 · 0 comments · Fixed by #54175
Assignees
Labels
[Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes).

Comments

@andrewserong
Copy link
Contributor

What problem does this address?

As raised during review of #48708, when no blocks are selected within the list view in the post and site editors, upon closing the list view, focus is not consistently placed anywhere and so it can go nowhere. This is most obvious when using the keyboard shortcut to open and close the list view. The keyboard shortcut for closing the list view is alt+shift+o on Windows, and control+option+o on Mac.

What is your proposed solution?

When closing the list view, if no blocks are selected, try directing focus to the list view toggle button in the top toolbar.

@andrewserong andrewserong added [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Feature] List View Menu item in the top toolbar to select blocks from a list of links. labels Sep 5, 2023
@andrewserong andrewserong self-assigned this Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes).
Projects
Status: Done
1 participant