aria mappings

Aria mappings have been tricky enough that I'm sending it here for
review instead of just posting a bug.

input type=color and input type= (datetime, date, month, week, time,
datetime-local) are defined with no role.

I think that these should have role=spinbutton

According to http://www.w3.org/TR/wai-aria/#spinbutton

A form of range that expects a user to select from amongst discrete choices.

A spinbutton typically allows the user to select from the given range
through the use of an up and down button on the keyboard. Visibly, the
current value is incremented or decremented until a maximum or minimum
value is reached. This functionality SHOULD be accomplished
programmatically through the use of up and down arrows on the
keyboard.

Although a spinbutton is similar in appearance to many presentations
of select, it is advisable to use spinbutton when working with known
ranges (especially in the case of large ranges) as opposed to distinct
options. For example, a spinbutton representing a range from 1 to
1,000,000 would provide much better performance than a select widget
representing the same values.

-jJ

Received on Wednesday, 23 September 2009 00:03:11 UTC