Skip to content
Open
Changes from 3 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
11 changes: 7 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,13 @@ 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 has at least one label.
Comment thread
sage-putnam marked this conversation as resolved.
Outdated

## Expectation 2

All of the test target's labels describe the purpose of the test target.
Comment thread
sage-putnam marked this conversation as resolved.
Outdated

## Background

Expand All @@ -69,7 +73,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