Use HTML form controls and links [H91]

Test info
Possible Results

Test info

Test for Success Criterion 4.1.2

WCAG 2.0

Principle 4: Robust
Content must be robust enough that it can be interpreted reliably by a wide variety of user agents, including assistive technologies.
WCAG 2.0: Principle 4
Guideline 4.1: Compatible:
Maximize compatibility with current and future user agents, including assistive technologies.
Understanding Guideline 4.1
Success Criterion 4.1.2: Name, Role, Value (Level A)
For all user interface components (including but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined ; states, properties, and values that can be set by the user can be programmatically set ; and notification of changes to these items is available to user agents , including assistive technologies . Note: This success criterion is primarily for Web authors who develop or script their own user interface components. For example, standard HTML controls already meet this success criterion when used according to specification.
Understanding: Success Criterion 4.1.2
Techniques

Possible Results

Failed The button has no name

The button has no associated text which can be used as a name.

Failed The input button has no name

The input element of type button, submit or reset has no or an empty value attribute.

Failed The name of the link can not be derived from its contents

The link only contains non-text content other than an image.

Failed The input image has no name

The input element of type image has no alt or title text.

Failed The fieldset has no naming legend

The fieldset has no legend which can be used to name it.

Failed The link has no name

The link has no contents and no title.

Passed H91-pass6

H91-pass6

Passed The button has a name

The button element has an associated text.

Passed The link has a name

The a[@href] element has an associated text.

Passed The input button has a name

The input element of type button, submit or reset has a non-empty value attribute.

Passed The input image has a name

The input element of type image has a non-empty title or alt attribute.

Passed The fieldset has a name

The fieldset has a legend with an associated text.

Verification required H91-verify1

H91-verify1