Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Improving Accessibility Score - Links and Buttons Do Not Have Accessible/Discernible Name - Help!


johnmcg7

Recommended Posts

Hi, 

I'm trying to improve my accessibility scores, and my audit is flagging up the following issues (see images 1 & 2). The "links do not have a discernible name" is point to the images in image 3, attached below. 

My website is johnbristoltherapy.co.uk. 

I have tried to change the name of the images in the content box, but it's not having an impact. And I can't find a way to edit the mobile menu button. 

Any help greatly appreciated!

3.PNG

2.PNG

1.PNG

Link to post
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Hey John, I've wrote up a short script that should solve your problem, I've included it in this blog post I wrote explaining how to solve the accessibility button issue: https://jolsonweddings.co

@Jolsonphotography Hey Josh, good on you for sharing and helping others to improve the accessibility of their websites 🙂. For info, you can improve this further by placing all the querySelector s

Posted Images

Hi John,

Is this the Google Lighthouse accessibility tool that you're using? It appears to be flagging the image overlay, not the image itself:

image.png.db0be56eadd6d6eced75be14b336de3a.png

The problem is that the anchor elements are empty. You'd have to retroactively fix this with Javascript by adding in an aria-hidden attribute or adding innerHTML content. Similarly, the mobile navigation menu button can be fixed by adding in an aria-label.

These are the kinds of issues my team and I fix often. If you're interested in having us take a look, feel free to DM me or hit us up at squareada.com.

Is your Squarespace website ADA compliant? Find out in 60 seconds with our free accessibility audit!

Link to post
  • 2 months later...

@Jolsonphotography Hey Josh, good on you for sharing and helping others to improve the accessibility of their websites 🙂.

For info, you can improve this further by placing all the querySelector statements within just one OnInit function, rather than two (or more). It won’t change what it does, but it will be more efficient.

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company helping Squarespace users by building the features that Squarespace didn't include.
Explore our range of Squarespace Extensions, including the Wishlist, and Datepicker Extension or book a Squarespace Expert for 1:1 help. Note that links in my posts may be affiliate links.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...