WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: duplicate id values

for

From: Bryan Garaventa
Date: Feb 6, 2012 12:33PM


It sounds like a small thing, but it can severely impact scripting and
labeling. For instance, you explicitly label a form field using a matching
for and id attribute, but if duplicate ids exist the wrong label can be
announced. The same is true when implementing ARIA, where many features are
bound using the id attributes to identify node relationships, labels, and
instructional text.


----- Original Message -----
From: "Angela French" < <EMAIL REMOVED> >
To: < <EMAIL REMOVED> >
Sent: Monday, February 06, 2012 10:20 AM
Subject: [WebAIM] duplicate id values


> In running the IBM accessibility checker on my site, I discovered some
> divs with duplicate id values. While I know why this is invalid html, I
> do not know how this might cause an issue for screen reader users. Could
> someone explain please?
>
> Thank you,
>
>
> Angela French
> Internet Specialist
> State Board for Community and Technical Colleges
> 360-704-4316
> <EMAIL REMOVED>
> http://www.checkoutacollege.com/
>
>