How to add alt text to button links

I’d like to be able to add alt text (also known as screen reader text) to the links within the button module, but can’t locate an option. Can anyone point me to that?

And if there is not an option, does anyone of a workaround for that? I’d prefer to add that info for SEO and ADA compliance.

Thanks

Images have alt tags, what tag are you trying to add to a button? You can do it easily with JS if you have an example.

Links need to have custom ALT text just as images do, so I need to add ALT text to each button link. I’d suspect that JS would insert global info?

alt is not a valid attribute for an a element, where are you reading that you need to use alt?

It’s in newer accessibility guidelines.

Hi there,

Can you please link to information about this? I’m very interested in improving my acessibility skills. Thank you!