Skip to content

Commit cf1e791

Browse files
Changing wording on failed example 15, 1 vs. 1a, because of discussion during meeting today.
1 parent 38f7d65 commit cf1e791

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_rules/visible-label-in-accessible-name-2ee8b8.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ This button has [visible inner text][] that is only partially contained within t
256256

257257
#### Failed Example 3
258258

259-
This button has [visible inner text][] that is fully contained within the [accessible name][] when viewed as a character-by-character substring. But that does not satisfy our [label in name algorithm][], which works on full words. So this fails the rule.
259+
This button has [visible inner text][] that is fully contained within the [accessible name][] when viewed as a character-by-character substring. But that does not satisfy the [label in name algorithm][], which works on full words. So this fails the rule.
260260

261261
```html
262262
<a href="#" aria-label="Discover Italy">Discover It</a>
@@ -352,7 +352,7 @@ This rule has no special handling for converting digits into words, or vice vers
352352

353353
#### Failed Example 15
354354

355-
This rule has no special handling for digits that appear next to letters with no spaces in between.
355+
The [label in name algorithm][] works on full words. That is: it requires that each full word in the visible label ("1" in this case) is equal to a full word in the accessible name ("1a" in this case). Those two words - "1" and "1a" - are not equal, so this element fails the rule.
356356

357357
```html
358358
<a aria-label="1a" href="#">1</a>

0 commit comments

Comments
 (0)