a11yTips — Ensure elements do not contain duplicate…

Ensure elements do not contain duplicate attributes

no. 017

Make sure attributes are not repeated in any given HTML element

Browsers and other user agents, including assistive technologies, can accurately interpret HTML content as long as attributes within elements are used according to the HTML specification. In other words, as long as each HTML attribute is only used once in any given element, as potential problems may easily arise, when developers maintain different and potentially conflicting attributes values for a single HTML element. The goal is to avoid duplication errors that might cause assistive technologies to inaccurately interpret the markup and lead [...]

Read article at dboudreau.tumblr.com

Article Taxonomies

Categories: Terms: , , , ,