WebAIM - Web Accessibility In Mind

E-mail List Archives

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


From: Patrick H. Lauke
Date: Feb 11, 2020 9:12AM

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.

Patrick H. Lauke

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