Accessibility/XForms: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(XForms AT API support)
 
Line 2: Line 2:


= AT API support for XForms elements =
= AT API support for XForms elements =
Assistive technologies API for XForms is supported starting from Firefox 3 (Gecko 1.9). This article provides a short documentation how accessibility is handled in Gecko for XForms.
Below you will find a list of accessible XForms elements.


== Forms Controls Module ==
== Forms Controls Module ==
Line 17: Line 21:
* [[Accessibility/XForms:Input:DaysList|days list]] - used when the data has a data type of day (see [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Input#months_list the docs]).
* [[Accessibility/XForms:Input:DaysList|days list]] - used when the data has a data type of day (see [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Input#months_list the docs]).
* [[Accessibility/XForms:Input:MonthsList|months list]] - used when the data has a data type of month (see [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Input#days_list the docs]).
* [[Accessibility/XForms:Input:MonthsList|months list]] - used when the data has a data type of month (see [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Input#days_list the docs]).
=== secret ===
Used for inputting passwords (see the [http://www.w3.org/TR/xforms/slice8.html#ui-secret spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Secret docs]). This element is represented by [[Accessibility/XForms:Secret|password field]].
=== textarea ===
Serves to show/change multiline text (see the [http://www.w3.org/TR/xforms/slice8.html#ui-textarea spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Textarea docs]). This element is represented by [[Accessibility/XForms:Textarea|multiline text field]].
=== output ===
Serves to show instance data that the element is bound to (see the [http://www.w3.org/TR/xforms/slice8.html#ui-output spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Output docs]). It can have the following presentations:
* text - default representation for data of most types, especially static text.
* calendar - used for date data types when appearance = 'full'.
=== upload ===
Provides a means for the user to select a file (see the [http://www.w3.org/TR/xforms/slice8.html#ui-upload spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Upload docs]).
=== range ===
Allows the user to choose a value from within a specific range of values (see the [http://www.w3.org/TR/xforms/slice8.html#ui-range spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Range docs]). Currently it is represented by a slider only.
=== trigger ===
Allows the user to initiate actions (see the [http://www.w3.org/TR/xforms/slice8.html#ui-trigger spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Trigger docs]). It can have the following representations:
* button - default representation.
* link/clickable text - used when appearance = 'minimal'.
=== submit ===
Invokes the submission of the selected instance data to its target destination (see the [http://www.w3.org/TR/xforms/slice8.html#ui-submit spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Submit docs]). It can have the following representations:
* button - default representation.
* link/clickable text - used when appearance = 'minimal'.
=== select ===
Allows the user to choose one or multiple values from a list of pre-defined values (see the [http://www.w3.org/TR/xforms/slice8.html#ui-selectMany spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Select docs]). It can have the following representations:
* listbox - default representation
* checkbox group - used when appearance = 'full'
=== select1 ===
Allows the user to choose a single value from a list of pre-defined values (see the [http://www.w3.org/TR/xforms/slice8.html#ui-commonelems-label spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Select1 docs]). It can have the following representations:
* combobox - default representation
* listbox - used when appearance = 'compact'
* radio group - used when appearance = 'full'

Revision as of 15:39, 26 December 2006

<< Back to Accessibility Home Page

AT API support for XForms elements

Assistive technologies API for XForms is supported starting from Firefox 3 (Gecko 1.9). This article provides a short documentation how accessibility is handled in Gecko for XForms.

Below you will find a list of accessible XForms elements.

Forms Controls Module

This section contains a list of accessible form control elements.

input

A key xforms element to show and change the instance data to which it is bound (see the spec, the docs). Accessibility is supported for the following representations of input element:

secret

Used for inputting passwords (see the spec, the docs). This element is represented by password field.

textarea

Serves to show/change multiline text (see the spec, the docs). This element is represented by multiline text field.

output

Serves to show instance data that the element is bound to (see the spec, the docs). It can have the following presentations:

  • text - default representation for data of most types, especially static text.
  • calendar - used for date data types when appearance = 'full'.

upload

Provides a means for the user to select a file (see the spec, the docs).

range

Allows the user to choose a value from within a specific range of values (see the spec, the docs). Currently it is represented by a slider only.

trigger

Allows the user to initiate actions (see the spec, the docs). It can have the following representations:

  • button - default representation.
  • link/clickable text - used when appearance = 'minimal'.

submit

Invokes the submission of the selected instance data to its target destination (see the spec, the docs). It can have the following representations:

  • button - default representation.
  • link/clickable text - used when appearance = 'minimal'.

select

Allows the user to choose one or multiple values from a list of pre-defined values (see the spec, the docs). It can have the following representations:

  • listbox - default representation
  • checkbox group - used when appearance = 'full'

select1

Allows the user to choose a single value from a list of pre-defined values (see the spec, the docs). It can have the following representations:

  • combobox - default representation
  • listbox - used when appearance = 'compact'
  • radio group - used when appearance = 'full'