Accessibility/XForms:Calendar

From MozillaWiki
Jump to: navigation, search

<< Back to XForms Accessibility Page

Calendar Container

Summary

Calendar container is used to show/change date data. This is subsidiary representation of XForms input element (see the doc) or output element (see the doc) that are bound to instance node of xsd:date type.

Exposed interfaces

  • nsIAccessible

Accessibility properties

nsIAccessible

  • role - ROLE_GROUPING
  • 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 calendar that is represented by 'yyyy-MM-dd' format.

Accessible children

  • ROLE_CALENDAR - the calendar widget that is represented by calendar
  • any explicity inserted children


Calendar

Exposed interfaces

  • nsIAccessible

Accessibility properties

nsIAccessible

  • role - ROLE_CALENDAR

Accessible children

  • ROLE_ENTRY that is used to type a month
  • ROLE_ENTRY that is used to type an year
  • ROLE_TABLE that represents grid of days