Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions _rules/form-field-label-descriptive-cc0f0a.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ acknowledgments:

## Applicability

This rule applies to any [programmatic label][] of an element which has one of the following [semantic roles][semantic role]:
This rule applies to any element which has one of the following [semantic roles][semantic role]:

- `checkbox`
- `combobox`
Expand All @@ -50,9 +50,15 @@ This rule applies to any [programmatic label][] of an element which has one of t

and where both the element and the [programmatic label][] are [visible][].

## Expectation
## Expectation 1

Each test target, together with its [visual context][], describes the purpose of the associated element.
Each test target is positioned and styled so that it has a visual relationship with at least one [label][].

**Note**: Labels are not just adjacent text. They can include captions or headings for groups of controls or adjacent buttons, and they may be non-textual content.

## Expectation 2

Each test target's purpose is described by its labels (from expectation 1).

## Background

Expand All @@ -69,7 +75,6 @@ Having a [label][] which is not included in the [accessible name][] is a violati

### Assumptions

- This rule assumes that [labels][label] are intended for sighted users, and that hiding a [visible][] [label][] from assistive technologies, is a failure of [Success Criterion 4.1.2: Name, Role and Value][sc412], but not of [Success Criterion 2.4.6: Headings and Labels][sc246].
- This rule assumes that the [programmatic labels][programmatic label] of an element are also part of its [visual context][].

### Accessibility Support
Expand Down