[Dojo-checkins] [dojo] #5984: Use dojo.attr for ARIA states and properties

dojo trac at dojotoolkit.org
Wed Jun 10 00:29:52 EDT 2009


#5984: Use dojo.attr for ARIA states and properties
---------------------------+------------------------------------------------
 Reporter:  simonjb        |        Owner:  becky
     Type:  enhancement    |       Status:  new  
 Priority:  normal         |    Milestone:  1.4  
Component:  Accessibility  |      Version:  1.0  
 Severity:  normal         |   Resolution:       
 Keywords:                 |  
---------------------------+------------------------------------------------

Comment(by davidmark):

 I don't recommend adding any more complexity to the attr (or realAttr)
 methods.  These low-level functions needs to be as simple (and fast) as
 possible.  There is already some extra baggage in there that should be
 removed for 2.0 (e.g. innerHTML.)

 IMO, the current interface is superior to adding custom prefixes to
 attributes names.

 Also, note that - despite the name - attr deals with properties, not
 attributes.  I'm looking into what sort of mapping there is between them
 (attributes and properties) in ARIA.  That will probably lead to a test
 for ARIA support, which will resolve the FF2 issue.

-- 
Ticket URL: <http://bugs.dojotoolkit.org/ticket/5984#comment:11>
dojo <http://dojotoolkit.org/>
The Dojo UI Toolkit


More information about the Dojo-checkins mailing list