WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Element ID is not unique (style tags within head of html)

for

From: Swift, Daniel P.
Date: Feb 11, 2020 9:16AM


I completely missed the part about head HTML (original message from Cindy got stuck in my spam). I feel only mildly foolish now 😊

Dan Swift
Senior Web Specialist
University Communications and Marketing
West Chester University
610.738.0589

From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Patrick H. Lauke
Sent: Tuesday, February 11, 2020 11:13 AM
To: <EMAIL REMOVED>
Subject: Re: [WebAIM] Element ID is not unique (style tags within head of html)

On 11/02/2020 16:09, Swift, Daniel P. wrote:
> I'd argue a usability and accessibility issue. You can link to IDs as a functioning anchor - having more than one ID breaks this. I think the problem stems from this.

Yeah but in this specific case, you can't link to a <style> element in
the <head>.

Also (for situations where you would indeed have anchors in the actual
content / references to fragment identifiers) the problem would affect
all users, not just those with disabilities (or, to be clearer, not more
disproportionately) ... so not necessarily a WCAG issue as such.

P
--
Patrick H. Lauke

https://www.splintered.co.uk/<https://www.splintered.co.uk/> | https://github.com/patrickhlauke<https://github.com/patrickhlauke>
https://flickr.com/photos/redux/<https://flickr.com/photos/redux/> | https://www.deviantart.com/redux<https://www.deviantart.com/redux>
twitter: @patrick_h_lauke | skype: patrick_h_lauke