Accessibility/XForms:TextField

From MozillaWiki
Jump to navigation Jump to 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).

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
  • value - current value of text field
  • action names - activate

Accessible children

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