W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2013

Re: Aria role=alert on UL tag fails validation

From: Steve Faulkner <faulkner.steve@gmail.com>
Date: Thu, 21 Nov 2013 07:22:33 +0000
Message-ID: <CA+ri+Vkpii=8ds4AqvX4vRxK8yq14ym1vy2U979=tiTestzNgg@mail.gmail.com>
To: Sailesh Panchang <sailesh.panchang@deque.com>
Cc: WAI Interest Group <w3c-wai-ig@w3.org>
Hi Sailesh,
the reason it is flagged as an issue now rather than previously is that the
implementation of the conformance requirements on use of ARIA in HTML5 is
an ongoing process. The restriction on use of role=alert on ul has been in
the spec for years.

Note also that the http://validator.nu has different rules in some cases as
its rule set is based on the whatwg spec not the W3C HTML spec.

The conformance requirements (which ARIA attributes can be used on which
elements) are specified in the following tables:

If you consider that any requirements are incorrect, please file a bug
(provide a rationale for a change) against the HTML spec (



HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>

On 20 November 2013 21:48, Sailesh Panchang <sailesh.panchang@deque.com>wrote:

> Bug 23877 – Checker fails use of ARIA role=alert on UL element
> submitted on Nov 20, 2013
> I used http://validator.w3.org/check
> and also http://validator.nu
> The validator fails use of role=alert on a UL tag
> Row 53 Column 44: Bad value alert for attribute role on element ul.<ul
> id="errlist" role="alert" tabindex="-1">
> ✉
> Test  the page at
> http://mars.dequecloud.com/demo/form-alert2.htm
> I did not see this error a few months ago on the same page and code.
> So I am surprised why it is being flagged as an issue now. role=alert
> is a valid role as per ARIA specs.
> http://www.w3.org/TR/wai-aria/roles#alert
> Thanks and regards,
> Sailesh Panchang
Received on Thursday, 21 November 2013 07:23:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:50 UTC