-
-
Notifications
You must be signed in to change notification settings - Fork 739
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
Fix: a11y - edit page - add block/blocks-chooser #6597
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for plone-components canceled.
|
@stevepiercy Can you review this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only triaged this PR. It still needs technical review. I'll add the teams to the request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The news looks good. This PR still needs technical review.
Hi @Manas-Kenge, thanks for the work on this. While the work in this PR is definitely an improvement on the existing functionality and is much appreciated, I think the multiple problems noted with the blocks chooser noted in the linked issue need further discussion and some more definitive criteria for what a 'fixed' version of the chooser should be. Let's put this PR on hold while we get a clearer picture of what all the problems are and what the best way of solving them should be. cc @plone/volto-accessibility . Notes I made while doing a quick test of this PR using VoiceOver on mac via Safari and Google Chrome:
|
Thank you, @JeffersonBledsoe, for the detailed review and thoughtful feedback. Regarding the close button, I initially implemented an 'X' button for closing the blocks chooser but noticed it negatively impacted the UI, as it increased the height of the accordion more than necessary. To maintain a clean design, I decided to remove it. However, I understand the importance of accessibility and am happy to add it if the accessibility team decides that including a close button is essential. As for using I'll await further input from the accessibility team to ensure these changes are properly implemented. Please let me know how you’d like to proceed after discussing these points further. |
Closes #5212
This pull request fixes accessibility in the "Add Block" modal. Focus now stays inside the modal, pressing Enter expands the accordion and moves focus inside, while ESC closes it and returns focus to the header.