WAI-ARIA allows meaningless combinations (Last Call comment on WAI-ARIA)

Hi,

It seems that the WAI ARIA requires that host languages allow authors to 
express a number of meaningless combinations, for instance:

 * Specifying a role="" on an element whose purpose is another role, e.g. 
   WAI-ARIA appears to require host languages to allow the following:

      <input type="checkbox" role="textbox">

 * Specifying a state or property on an element in a way that contradicts 
   host language semantics, e.g. WAI-ARIA appears to require host 
   languages to allow the following:

      <input type="checkbox" checked="checked" aria-checked="false">

I would like to request that host languages be able to state which roles 
elements in the host language map to, and be able to forbid authors from 
contradicting these roles. Similarly, I'd like to request that host 
languages be able to define certain states and proprties that host 
language attributes map to, with the corresponding ability to forbid 
authors from contradicting these implicit states and properties.

Specifically, it is the following bullet point in section 6.1.1. Role 
Attribute:

 * The appearance of the name literal of any concrete ARIA role (see 
   section 7.3.2) as one of these substrings MUST NOT in and of itself 
   make the attribute value illegal in the host-language syntax

...to which I object.

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 2 April 2009 03:03:37 UTC