Accessibility/XForms:Button

From MozillaWiki
Jump to: navigation, search

<< Back to XForms Accessibility Page

Summary

The button invokes certain action when user activates it. This representation is used for XForms trigger element (see the docs) and for XForms submit element (see the docs).

Exposed interfaces

  • nsIAccessible
  • nsIAccessibleHyperText

Accessibility properties

nsIAccessible

  • role - ROLE_PUSHBUTTON
  • 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 - there is no value
  • action names - press

Accessible children

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