Accessibility/XForms:Radiogroup

From MozillaWiki
Jump to: navigation, search

<< Back to XForms Accessibility Page

Radiogroup

Summary

Allows the user to choose a single value from a list of pre-defined values. This representation is used for full appearance select1 (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_RADIOBUTTON (see radiobox representation below)
  • choices - ROLE_GROUPING (see grouping representation below)

Radiobox

Summary

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

Exposed interfaces

  • nsIAccessible
  • nsIAccessibleHyperText

Accessibility properties

nsIAccessible

  • role - ROLE_RADIOBUTTON
  • 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_RADIOBUTTON (see radiobox representation above)
  • choices - ROLE_GROUPING (this representation)