Accessibility/XForms:TextField

From MozillaWiki
Jump to: navigation, search

<< Back to XForms Accessibility Page

Summary

Text field is used to show/change string data. This is the main representation of XForms input element (see the docs). Also this representation is used for XForms textarea element (see the docs).


Exposed interfaces

  • nsIAccessible
  • nsIAccessibleText
  • nsIAccessibleEditableText
  • nsIAccessibleHyperText

Accessibility properties

nsIAccessible

  • role - ROLE_ENTRY
  • 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 text field
  • action names - activate

Accessible children

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