Accessibility/XForms:Datepicker

From MozillaWiki
< Accessibility
Revision as of 17:44, 4 January 2007 by Surkov.alexander (talk | contribs) (→‎Accessible children)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<< Back to XForms Accessibility Page

Summary

Datepicker is similar to a combobox. It consists of a text field for direct user input next to a button that when activated will 'drop down' a calender widget that the user can also interact with. Datepicker representation is used to show/change data of date type. It is used for XForms input element (see the docs).

Exposed interfaces

  • nsIAccessible
  • nsIAccessibleText
  • nsIAccessibleEditableText
  • nsIAccessibleHyperText

Accessibility properties

nsIAccessible

  • role - ROLE_DROPLIST
  • name - formed from value of underlying XForms label element
  • description - formed from value of underlying XForms hint element
  • state - formed from MIPs of instance node that XForms element is bound to
  • value - current value of checkbox
  • action names - activate

Accessible children

  • text field - ROLE_ENTRY
  • dropmarker - ROLE_PUSHBUTTON
  • calendar - ROLE_CALENDAR
  • any accessible children of XForms element that this representation is used for