Jump to content

Accessibility - setting tabindex to zero?

Recommended Posts

Hi!

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
    </a>

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 6
  • Created
  • Last Reply

Top Posters In This Topic

It would be helpful if you could password protect the website and then share the URL and password.

This thread seems to have helped a few people:

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
🔌
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

Link to comment

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
  • 4 months later...
14 hours ago, M_Fancy_Sites said:

The solution above isn't working for me. www.cfmrsandiego.com is my clients' site. We use 7.1

What did you try? What are you trying to do?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
🔌
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

Link to comment
  • 2 weeks later...

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.