Accessibility/XForms:Checkgroup

From MozillaWiki
Jump to: navigation, search

<< Back to XForms Accessibility Page

Checkgroup

Summary

Allows the user to choose a single value from a list of pre-defined values. This representation is used for full appearance select (see the docs).

Exposed interfaces

  • nsIAccessible
  • nsIAccessibleSelectable

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 states of instance node that XForms element is bound to
  • value - value of bound node that is formed from values of child selected item elements

Accessible children

  • item - ROLE_CHECKBUTTON (see checkbox representation below)
  • choices - ROLE_GROUPING (see grouping representation below)

Checkbox

Summary

This representation is used for xforms item element that is child element of full appearance select element. Such select element is represented by checkgroup.

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 - STATE_CHECKED
  • value - formed from value of underlying XForms value element

Accessible children

Any accessible elements that are child elements of element that this representation is used for.

Grouping

Summary

This representation is used for XForms choices element. XForms choices element is used to group visually XForms item elements.

Exposed interfaces

  • nsIAccessible
  • nsIAccessibleHyperText

Accessibility properties

nsIAccessible

  • role - ROLE_GROUPING
  • name - formed from value of underlying XForms label element
  • description - formed from value of underlying XForms hint element
  • value - there's no value

Accessible children

  • item - ROLE_CHECKBUTTON (see checkbox representation above)
  • choices - ROLE_GROUPING (this representation)