Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Combobox Representation

 

« Accessibility XForms Support Page

Introduction

There are two presentations for XForms select1 elements that are represented by combobox widget. XHTML implementation of select1 element has usual combobox representation you can find below. XUL implementation assumes select1 element is actually container that holds XUL menulist element.

Combobox

Summary

Allows the user to choose a single value from a list of pre-defined values. This representation is used for minimal appearance select1 (see the doc).

Exposed interfaces

Accessibility properties

nsIAccessible

  • role - ROLE_COMBOBOX
  • 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 - value of bound node that is formed from value of child selected item element

Accessible children

Note: if select1 element has attribute selection="open" then textfield is editable.

Listitem

Summary

This representation is used for xforms item element that is child element of minimal appearance select1 element. Such select1 element is represented by combobox.

Exposed interfaces

Accessibility properties

nsIAccessible

  • role - ROLE_LISTITEM
  • name - formed from value of underlying XForms label element
  • description - formed from value of underlying XForms hint element
  • state - STATE_SELECTABLE, STATE_SELECTED
  • value - formed from value of underlying XForms value element

Accessible children

Any accessible elements that are child elements of element that this representation is used for.

Grouping

Summary

This representation is used for XForms choices element. XForms choices element is used to group visually XForms item elements.

Exposed interfaces

Accessibility properties

nsIAccessible

  • role - ROLE_GROUPING
  • name - formed from value of underlying XForms label element
  • description - formed from value of underlying XForms hint element
  • value - there's no value

Accessible children

Document Tags and Contributors

 Contributors to this page: Fredchat, Sheppy, Surkov.alexander
 Last updated by: Fredchat,