-
Notifications
You must be signed in to change notification settings - Fork 51
Improve and fix accessibility issues in Modal block #1041
Copy link
Copy link
Closed
Labels
accessibilityImprovements on accessibilityImprovements on accessibility
Milestone
Description
Describe the bug
Good example of proper accessibility for modal.
I met with Gen Herres to review accessibility of new blocks. Two improvements can be made to the Modal block that we discovered.
- After clicking escape, close, or clicking outside the modal which closes it, focus should return to the button that original opened the modal. Right now, focus is lost.
- After clicking "Attending," the modal does not close (which is correct), however, focus should be on "Close" as that's the next logical step (if close button exists).
Steps to Reproduce
To come...
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
accessibilityImprovements on accessibilityImprovements on accessibility
Type
Projects
Status
Done