Accessibility/XForms:TextField: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
= Summary =
= Summary =


Text field is used to show/change string data. This is the main representation of XForms <code>input</code> element.
Text field is used to show/change string data. This is the main representation of XForms <code>input</code> element (see the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Input#text_field docs]).


= Exposed interfaces =
= Exposed interfaces =
Line 10: Line 10:
* nsIAccessibleText
* nsIAccessibleText
* nsIAccessibleEditableText
* nsIAccessibleEditableText
* nsIAccessibleHyperText


= Accessibility properties =
= Accessibility properties =
Line 18: Line 19:
* name - formed from value of underlying XForms <code>label</code> element
* name - formed from value of underlying XForms <code>label</code> element
* description - formed from value of underlying XForms <code>hint</code> element
* description - formed from value of underlying XForms <code>hint</code> element
* value - value of instance node that element is bound to
* value - current value of text field
* action names - <code>activate</code>
* action names - <code>activate</code>


== Accessible children ==
== Accessible children ==


There are not any accessible children.
This presentation doesn't require any accessible children. But Mozilla XForms implementation allows <code>input</code> to have child elements.

Revision as of 17:13, 26 December 2006

<< 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.