WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Role attribute


From: Steven Faulkner
Date: Oct 8, 2009 9:35AM

The W3C is slow in moving on the issue of ARIA validation, It is a W3C
specification that has been designed to be used with HTML and XHTML (as well
as other languages) so using it even though it does not valdiate is no

If you do want your ARIA to validate use the HTML5 doctype <!DOCTYPE HTML>
on your html docs.
when you run it through the W3C validator it will valdiate with ARIA.


2009/10/8 Jared Smith < <EMAIL REMOVED> >

> On Thu, Oct 8, 2009 at 9:12 AM, Geof Collis < <EMAIL REMOVED> > wrote:
> >
> >Well it appears that I cant use it because it doesn't validate
> >under xhtml 1.0 strict.
> ARIA roles are perfectly acceptable and valid. Just because some
> validator tells you they're not valid doesn't mean they're not.
> I don't quite understand the criticism of something that has potential
> to do more for keyboard accessibility than anything that's come along
> in the last 10 years. "Skip" links are a hack. ARIA landmarks are a
> solution (or will be once support gets better).
> Jared