Jump to content

Accessibility - setting tabindex to zero?

Recommended Posts


Hoping someone might be able to help--we're running some accessibility tests on a website before it goes live (hence why I haven't included a URL) but one of the errors we're getting is that "Elements must not have a tabindex greater than zero."

We've found the piece of code that's causing the issue, which is here:

<a href="#page" tabindex="1" class="header-skip-link sqs-button-element--primary">
      Skip to Content

Obviously the "Skip to Content" button is essential to our accessibility requirements--but could anyone help in providing a solution to change the tabindex to zero? As it's in the Squarespace coding so I imagine we need some custom code to cancel it out...

Thanks in advance for your help!

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi Ziggy,

I've actually got the same issue on a publicly available website here: www.farrierhousesurgery.co.uk.

I've had a look at the thread you shared - however I wasn't sure if that would work as it says it's for 7.0... What do you think? Worth a shot?

Thank you for your help!

Link to comment

Create an account or sign in to comment

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

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.