Open
Description
Description
The following issue was raised on trac: #63519 by @rlautan
The core/video
block that uses a caption has no accesibility name. Adding one as a aria-label or a aria-labbeledby
attribute will enhance the accessibility for the block.
Step-by-step reproduction instructions
- Create a new page/post
- Add a
core/video
block - Add media and caption to it
- Navigate to the frontend, and using a screenreader try to focus on the video.
- Verify that the screenreader announces the video but not the caption
Screenshots, screen recording, code snippet
Before.mov
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
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure