W3C home > Mailing lists > Public > public-pfwg-comments@w3.org > April to June 2009

WAI-ARIA: 5.2.4. Value

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 02 Apr 2009 13:53:35 +0200
To: "public-pfwg-comments@w3.org" <public-pfwg-comments@w3.org>
Message-ID: <op.urrcnleg64w2qv@annevk-t60.oslo.opera.com>
I think for authors it would make much more sense here to reuse datatypes  
 from HTML or SVG.

Speficially NMTOKENS and IDREFS do not work as described in HTML context  
because HTML does not do whitespace normalization of attribute values.  
Neither does the DOM for that matter. E.g.


does not match the IDREFS production. It is highly unlikely anyone would  
implement it that way though and it is also confusing to authors because  


does work perfectly fine and as expected.

Similar attributes that take "true" and "false" as values in HTML such as  
contenteditable="" and spellcheck="" also take the empty string (meaning  
true) and match in an ASCII case-insensitve way. They do not take 0 and 1  
as allowed values. I think it would be much better to align with that.

Anne van Kesteren
Received on Thursday, 2 April 2009 11:54:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:01:01 UTC