How to Fix "Links do not have a discernible name" ?

How to Fix "Links do not have a discernible name" ?

Shivdutt
Shopify Partner
4 0 1

Shivdutt_0-1650091331897.png

 

Replies 3 (3)

Zworthkey
Shopify Partner
5581 641 1581

@Shivdutt 

How to add accessible names to links #

Similar to buttons, links primarily get their accessible name from their text content. Avoid filler words like "Here" or "Read more"; instead, put the most meaningful text into the link itself:

Check out <a href="…">our guide to creating accessible web pages</a>.
</html>
Shivdutt
Shopify Partner
4 0 1

It's not work...

 

AvadaCommerce
Shopify Partner
3879 840 1000

Hi @Shivdutt ,

 

You can try below code:

 

<!--You need to use aria-label for screen reeders-->

<a aria-label="Go top" href="URL">

 If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

banned