Description
Related to #42416
When a block variation is applied, data-title and aria-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
- Insert
core/post-terms (categories) block (The Category Block is a variation of the Post Terms block.).
- Check the
data-title and aria-label attributes from the browser console.
Screenshots, screen recording, code snippet

Environment info
- WordPress Version: 6.1-alpha-54198
- Gutenberg Version: 14.1.0
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
Description
Related to #42416
When a block variation is applied,
data-titleandaria-labelattributes 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-titleandaria-labelattributes 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