W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > April to June 2011

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

From: Chris Beer <chris@e-beer.net.au>
Date: Fri, 10 Jun 2011 12:28:49 +1000
Message-Id: <00C0F9E5-6D49-42B0-94B1-656B98FFE7A3@e-beer.net.au>
Cc: WCAG <w3c-wai-gl@w3.org>
To: "Bailey, Bruce" <Bailey@Access-Board.gov>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 10 June 2011 02:28:54 GMT