WebAIM - Web Accessibility In Mind

E-mail List Archives

Why are both validation and accessibility tools showing duplicate id's


From: Jim Byrne Accessible Web Design
Date: Nov 30, 2022 9:08AM


I'm testing a website and both my accessibility tools and page validation are saying the page has duplicate ids. However when I look at the code the all look unique to me. Here are just a few examples from W3 page validation:

' Duplicate ID gform_wrapper_5.
' Duplicate ID gform_5.
' Duplicate ID gform_fields_5.
' Duplicate ID field_5_1.
' Duplicate ID input_5_1.
' Duplicate ID field_5_2.
' Duplicate ID input_5_2.
' Duplicate ID input_5_2_3_container.

They all look unique. No?


About Jim Byrne
With over two decades of experience Jim Byrne is one of the UK's most experienced practitioners in the area of accessible web design. Jim provided feedback during the development of WCAG 2 as part of the Guild of Accessible Website Designers. He is the author of a number of technical books, training courses and accessibility guides. Jim was a winner of the equal access category of the Global Bangemann Challenge.

Jim Byrne: Specialist in Accessible Website Design.

Web: http://www.jimbyrne.co.uk

Twitter: http://twitter.com/#!/jimbyrnewebdev

Facebook: https://www.facebook.com/thirdsectorwebsitedevelopment