Add “title” attribute to the button block #59922
Labels
[Block] Buttons
Affects the Buttons Block
Needs Accessibility Feedback
Need input from accessibility
[Type] Enhancement
A suggestion for improvement.
Hi,
I would like the ability to add a “title” attribute to the button block.
so the html output will be:
<a href=“/nowhere” title=“awesome”>button text!</a>
as also described here
https://wordpress.org/support/topic/add-title-attribute-to-the-button-block/#post-17504173
The title attribute is a native tooltip, it’s good for accessibility and it’s a common attribute that I think should have a place in the core button block.
the implementation shouldn’t be difficult
It’s adding a block attribute and a hi that can be placed in the “extra” button in the block toolbar
I would really appreciate insights and thoughts about this subject
Thanks
The text was updated successfully, but these errors were encountered: