Featured image button opens a dialog but misses an aria-haspopup attribute #63359
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Editor
/packages/editor
[Type] Bug
An existing feature does not function as intended
Description
In the Post Summary pael, the
Set featured image
button does open a dialog. However, it misses anaria-haspopup="dialog"
attribute to inform screen reader users it will open a dialog.Same applies to the 'Replace' button.
Screenshot with Safari and VoiceOver announcing the button. No information is provided about the dialog.
Step-by-step reproduction instructions
Set featured image
button.Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: