Accessibility/XForms:Datepicker

< Accessibility
Revision as of 08:59, 27 December 2006 by Surkov.alexander (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<< 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
  • any accessible children of XForms element that this representation is used for