Visit Mozilla.org

Accessibility:XForms:Combobox

From MDC


« Accessibility XForms Support Page

Contents

[edit] 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.

[edit] Combobox

[edit] 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).

[edit] Exposed interfaces

[edit] Accessibility properties

[edit] 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

[edit] Accessible children

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

[edit] Listitem

[edit] 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.

[edit] Exposed interfaces

[edit] Accessibility properties

[edit] 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

[edit] Accessible children

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

[edit] Grouping

[edit] Summary

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

[edit] Exposed interfaces

[edit] Accessibility properties

[edit] 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

[edit] Accessible children