W3C home > Mailing lists > Public > public-html@w3.org > September 2009

aria mappings

From: Jim Jewett <jimjjewett@gmail.com>
Date: Tue, 22 Sep 2009 20:02:05 -0400
Message-ID: <fb6fbf560909221702m675c8273s3c3113f7ab445a88@mail.gmail.com>
To: HTML WG Public List <public-html@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:48 GMT