W3C home > Mailing lists > Public > wai-xtech@w3.org > September 2008

Re: conformance checker for HTML+ARIA?

From: Bruce Lawson <brucel@opera.com>
Date: Tue, 30 Sep 2008 13:42:32 +0100
To: "Gez Lemon" <gez.lemon@gmail.com>, "Steven Faulkner" <faulkner.steve@gmail.com>
Cc: "Al Gilman" <Alfred.S.Gilman@ieee.org>, "W3C WAI-XTECH" <wai-xtech@w3.org>
Message-ID: <op.uian86xyh8on37@bruce-pc>

> It doesn't resolve the whole issue of ensuring that ARIA is used
> correctly with a native markup language, but if the ARIA specification
> is available in a machine readable format [...] we could build a basic
> validator to ensure at least the ARIA part is used according to its
> specification.

Most authors would be using it with HTML - so that would be a good start.  
There are several options:

1)  an HTML validator that simply ignores any ARIA information - so it  
doesn't conformance check the ARIA at all, but doesn't fail a page because  
ARIA is present. (That's useful for knowledgeable early adopters who have  
an organisational policy that requires valid markup. Perhaps they are  
committed to WCAG AA which "requires" validity, for example).

So perhaps it throws a warning ("please check the syntax and applicability  
of the ARIA attributes you use") but no error.

2) an HTML validator that also syntax-checks ARIA attributes to make sure  
it's used according to its spec

3) a full validator that ensures ARIA is used correctly with the native  
markup language. I believe this is impossible now as there are issues  
about how to specify this.

So (3) is impossible, (2) would  be very useful, although the spec might  
change, while (1) could be built now, and at least removes impediments to  
adoption, even it isn't "helping".

bruce
Received on Tuesday, 30 September 2008 16:31:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 March 2009 03:32:10 GMT