Re: H94: Ensuring that elements do not contain duplicate attributes

They are an error in HTML5 as well, but the major change to the DTD means that any such errors are likely to be gracefully ignored by the UA and the content will generally still render.

The danger then is that it allows for sloppy markup which can certainly have major accessibility impacts - I have seen a disturbing trend in developers declaring HTML5 in order to  pass accessibility checks without having to write valid code.

Chris Beer (iPhone)

On 10/06/2011, at 7:56, "Bailey, Bruce" <Bailey@Access-Board.gov> wrote:

> Yes, duplicate attributes are an error for HTML 4:
> http://validator.w3.org/docs/errors.html#ve-112 
> Don't know about HTML5
> 

Received on Friday, 10 June 2011 02:28:51 UTC