Confirmed users
1,396
edits
No edit summary |
|||
Line 73: | Line 73: | ||
* listbox - used when appearance = 'compact' | * listbox - used when appearance = 'compact' | ||
* radio group - used when appearance = 'full' | * radio group - used when appearance = 'full' | ||
== Additional Elements == | |||
These elements may be used as child elements to the form controls described above. Some of these elements are not accessible itself but they makes accessibility properties for XForms elements that hold them. | |||
=== label === | |||
Specifies the label for the xforms control (see the [http://www.w3.org/TR/xforms/slice8.html#ui-selectMany spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Label docs]). Every form control other than the <code>output</code> element must contain a <code>label</code> element. The value of <code>label</code> element is used as name of accessible object. | |||
=== help === | |||
Specifies contextual help for the containing form control (see the [http://www.w3.org/TR/xforms/slice8.html#ui-commonelems-help spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Help docs]). The <code>help</code> element has <code>alert</code> role. | |||
=== hint === | |||
Similar to a tooltip (see the [http://www.w3.org/TR/xforms/slice8.html#ui-commonelems-hint spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Hint docs]). The value of <code>hint</code> element is used as description of accessible object. | |||
=== alert === | |||
This message will be shown when the form control cannot properly bind to instance data or when the instance data value is invalid or out of the specified range of selectable values (see the [http://www.w3.org/TR/xforms/slice8.html#ui-common-elements-alert spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Alert docs]). The <code>alert</code> element has <code>alert</code> role for both usual and inline <code>alert</code> elements. | |||
=== message === | |||
Used in combination with event listeners to display a message to the user when the specified event occurs (see the [http://www.w3.org/TR/xforms/slice10.html#action-info spec], the [http://developer.mozilla.org/en/docs/XForms:User_Interface_Elements:Message docs]). The <code>message</code> element has <code>alert</code> role. |