Accessibility/XForms:Checkbox

From MozillaWiki
Jump to: navigation, search

<< Back to XForms Accessibility Page

Summary

Checkbox representation is used to show/change boolean data. It is used for XForms input element (see the docs).

Exposed interfaces

  • nsIAccessible
  • nsIAccessibleHyperText

Accessibility properties

nsIAccessible

  • role - ROLE_CHECKBUTTON
  • 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 - check/uncheck

Accessible children

This presentation doesn't require any accessible children. But Mozilla XForms implementation allows input to have child elements.