Accessibility/XForms:Upload

From MozillaWiki
Jump to: navigation, search

<< Back to XForms Accessibility Page

Summary

Provides a means for the user to select a file. This presentation is used for upload element (see the docs)). The upload representation is combined from textfield to show uploaded file URL, upload button and clear button.

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
  • state - formed from MIPs of instance node that XForms element is bound to
  • value - current value of bound node

Accessible children

  • text field - ROLE_ENTRY
  • upload button - ROLE_PUSHBUTTON
  • clean button - ROLE_PUSHBUTTON
  • any accessible explicit children of element that this representation is used for