Accessibility/HTML5 Forms

< Accessibility
Revision as of 15:25, 28 April 2010 by MarcoZ (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.