Archived topic
How to add a title attribute to link on a button in GenerateBlocks
9 replies · Started by Dominique on January 3, 2021
Hi,
How can I add a title attribute to a link on a button in GenerateBlocks?
Thanks
Hi there,
That will require GenerateBlocks pro which we are aiming to release in early January :)
Hi,
I have been reading up on title and aria-label.
Lighthouse was constantly nagging with accessibility by not having titles on links. I did put the Aria text in the block and Lighthouse didn't complain. Just not getting the cute little label that the title attribute gives when hovering over with a mouse that doesn't apply on mobile and tablet.
With the quality of coding, performance and support that you guys deliver I'll buy the pro version of GenerateBlocks just to show my appreciation.
Keep up the great work!
We will try out best :)
Hi,
A workaround until the premium version of GenerateBlocks comes out is to click on "Edit as HTML" in the settings of the block and add the title attribute in there.
Cheers!
Thanks for sharing!
Hi,
I saw that GenerateBlocks Pro is available.
I read the website. No mention if there is the ability to add title attribute to a link for a button.
Is it available? Doing it by converting the block to html and adding title="some title" makes wordpress go into a fit and it declares the block as invalid.
Please advise.
Hi there,
GenerateBlocks Pro allows adding title attribute for its Button block as shown in this screenshot.
https://share.getcloudapp.com/eDu8LDBO
Hi,
Perfect!
I will buy it.
Thank you.
Nice one. No problem.
By the way, GenerateBlocks Pro has it's own support forum found here:
https://community.generateblocks.com/
Here's where you ask for GenerateBlocks related help. :)