Skip to content

Commit

Permalink
add 2.5.3 to input_label_visible help
Browse files Browse the repository at this point in the history
Help and requirements that are reported should match.
Rule reports to both 3.3.2 & 2.5.3, but Help did not.
  • Loading branch information
philljenkins authored Feb 3, 2025
1 parent b3a71d8 commit 2e8a402
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h3 id="ruleMessage"></h3>

Visible labels are essential, so every user can know what information to enter:
- People with cognitive, language, and learning disabilities, older adults, and all users will easily learn what information is expected.
- People using voice control will see what to speak. This allows them to easily jump to interactive elements and form fields.
- People using voice control will see what to speak. This allows them to easily jump to interactive elements, buttons, and form fields.

Placeholder labels when used as the only visible label can reduce the accessibility for a wide range of users. Avoid placeholder labels for the following reasons:
- May not be persistent: the placeholder label disappears when the user starts typing in the input field
Expand All @@ -60,7 +60,7 @@ <h3 id="ruleMessage"></h3>

### What to do

The intent of labels, including expected formats and required fields,
The intent of labels, including expected formats, required fields and button text
on interactive elements is not to clutter the page with unnecessary information but to provide important cues that will benefit all users.
Too much information can be just as harmful as too little.

Expand Down Expand Up @@ -98,6 +98,7 @@ <h3 id="ruleMessage"></h3>
### About this requirement

* [IBM 3.3.2 Label or Instruction](https://www.ibm.com/able/requirements/requirements/#3_3_2)
* [IBM 2.5.3 Label in Name](https://www.ibm.com/able/requirements/requirements/#2_5_3)
* [H44: Associate text labels with form controls](https://www.w3.org/WAI/WCAG22/Techniques/html/H44)
* [ARIA1: Use aria-describedby to label a user interface control](https://www.w3.org/WAI/WCAG22/Techniques/aria/ARIA1)
* [ARIA9: Use aria-labelledby to concatenate several text nodes](https://www.w3.org/WAI/WCAG22/Techniques/aria/ARIA9)
Expand Down

0 comments on commit 2e8a402

Please sign in to comment.