Accessibility/HTML5 Forms: Difference between revisions
(Created page with 'This page is a collection of new HTML5 specific @type values for the html:input element as well as some new form and text output elements that will be in the next Firefox release…') |
No edit summary |
||
Line 14: | Line 14: | ||
Question: What if both title and placeholder are specified? The [http://dev.w3.org/html5/spec/Overview.html#the-placeholder-attribute spec] doesn't forbid that. If placeholder is exposed via accessibleDescription, it was suggested by Pete Brunet that title should be used and placeholder should be ignored in such cases. | Question: What if both title and placeholder are specified? The [http://dev.w3.org/html5/spec/Overview.html#the-placeholder-attribute spec] doesn't forbid that. If placeholder is exposed via accessibleDescription, it was suggested by Pete Brunet that title should be used and placeholder should be ignored in such cases. | ||
==New input types== | |||
The following is a list of new input types (defined by the @input attribute to the html:input element). | |||
===color=== | |||
*{{bug|559767}} | |||
*Accessible Role: possibly reuse XUL color picker class | |||
*support associated widgets | |||
*Support list of predefined options {{bug|559766}} | |||
===date=== | |||
*{{bug|559762}} | |||
*Accessible Role: ROLE_DATE_EDITOR | |||
*Make associated calendar widget accessible as well | |||
*Support list of predefined options {{bug|559766}} | |||
*support of STATE_INVALID? | |||
===email=== | |||
*{{bug|559759}} | |||
*Accessible Role: combobox | |||
*Support autocomplete {{bug|559766}} | |||
*support of STATE_INVALID | |||
===number=== | |||
*{{bug|559761}} | |||
*Accessible Role: combobox | |||
*Support autocomplete {{bug|559766}}? | |||
*support of STATE_INVALID | |||
*Support AccessibleValue interface {{bug|559753}} | |||
===range=== | |||
*{{bug|559764}} | |||
*Accessible Role: possibly like XUL:scale and xforms:range | |||
*support of STATE_INVALID? | |||
*Support AccessibleValue interface {{bug|559753}} | |||
===search=== | |||
*{{bug|559747}} | |||
*Accessible Role: combobox | |||
*Support autocomplete {{bug|559766}} | |||
===tel=== | |||
*{{bug|559746}} | |||
*Accessible Role: combobox | |||
*Support autocomplete {{bug|559766}} | |||
*support of STATE_INVALID | |||
===url=== | |||
*{{bug|559745}} | |||
*Accessible Role: combobox | |||
*Support autocomplete {{bug|559766}} | |||
*support of STATE_INVALID |
Revision as of 14:58, 29 April 2010
This page is a collection of new HTML5 specific @type values for the html:input element as well as some new form and text output elements that will be in the next Firefox release, and which need exposure through accessibility APIs.
Tracking bugs: bug 344614, bug 389237.
placeholder attribute
Accessibility bug 545817.
From comment 6 of that bug: Text fields can have placeholder text that often visually appears as the italicized, or otherwise styled text inside the field. Users have learned that clicking the field removes the text.
Ideas:
- Make the placeholder text part of the accDescription. Jamie also suggested that if the name is otherwise unspecified (by means of a missing label), make it the accName instead, then.
- Alternatively, expose it as an object attribute.
Question: What if both title and placeholder are specified? The spec doesn't forbid that. If placeholder is exposed via accessibleDescription, it was suggested by Pete Brunet that title should be used and placeholder should be ignored in such cases.
New input types
The following is a list of new input types (defined by the @input attribute to the html:input element).
color
- bug 559767
- Accessible Role: possibly reuse XUL color picker class
- support associated widgets
- Support list of predefined options bug 559766
date
- bug 559762
- Accessible Role: ROLE_DATE_EDITOR
- Make associated calendar widget accessible as well
- Support list of predefined options bug 559766
- support of STATE_INVALID?
- bug 559759
- Accessible Role: combobox
- Support autocomplete bug 559766
- support of STATE_INVALID
number
- bug 559761
- Accessible Role: combobox
- Support autocomplete bug 559766?
- support of STATE_INVALID
- Support AccessibleValue interface bug 559753
range
- bug 559764
- Accessible Role: possibly like XUL:scale and xforms:range
- support of STATE_INVALID?
- Support AccessibleValue interface bug 559753
search
- bug 559747
- Accessible Role: combobox
- Support autocomplete bug 559766
tel
- bug 559746
- Accessible Role: combobox
- Support autocomplete bug 559766
- support of STATE_INVALID
url
- bug 559745
- Accessible Role: combobox
- Support autocomplete bug 559766
- support of STATE_INVALID