W3C home > Mailing lists > Public > wai-xtech@w3.org > April 2009

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

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 2 Apr 2009 03:02:59 +0000 (UTC)
To: wai-xtech@w3.org
Message-ID: <Pine.LNX.4.62.0904020240360.25082@hixie.dreamhostps.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 13:16:01 GMT