Accesibility: Block label and title don't consider variations #44249
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Block editor
/packages/block-editor
Description
Related to #42416
When a block variation is applied,
data-title
andaria-label
attributes of the inserted block display information about the original block.I think that these information should be taken into account for block variations as well as other text.
Step-by-step reproduction instructions
core/post-terms
(categories) block (The Category Block is a variation of the Post Terms block.).data-title
andaria-label
attributes from the browser console.Screenshots, screen recording, code snippet
Environment info
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: