Skip to content

Commit a839498

Browse files
minor tweaks
1 parent 774547e commit a839498

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This rule applies to any element for which all the following is true:
3838
- The element has [visible text content][]; and
3939
- The element has an `aria-label` or `aria-labelledby` attribute; and
4040
- Neither the element's accessible name nor its visible label contains any abbreviations; and
41-
- Every word that appear in both the element's accessible name and its visible label uses the same spelling and hyphenation in both places.
41+
- Every word that appears in both the element's accessible name and its visible label uses the same spelling and hyphenation in both places.
4242

4343
## Expectation
4444

@@ -50,12 +50,12 @@ This rule applies to elements with a [widget role][] that [support name from con
5050

5151
The understanding document of [2.5.3 Label in Name][understand253] use the term "symbolic text characters" to refer to a type of [non-text content][] that uses text characters as symbols, such as using "x" to mean "close". This rule considers them as "characters expressing non-text content". Unicode emojis are another example of characters expressing non-text content, although these are not "symbolic text characters".
5252

53-
If the target element contains an [image of text](https://www.w3.org/WAI/WCAG22/Understanding/label-in-name.html#dfn-image-of-text), it may pass this rule but fail [2.5.3 Label in Name][understand253] (because the accessible name should then match the text inside the image, which is not taken into account by this rule). So further testing is needed. This case might be handled by a different rule in the future.
53+
If the target element contains an [image of text](https://www.w3.org/TR/WCAG22/#label-in-name), it may pass this rule but fail [2.5.3 Label in Name][understand253] (because the accessible name should then match the text inside the image, which is not taken into account by this rule). So further testing is needed. This case might be handled by a different rule in the future.
5454

5555

5656
### Assumptions
5757

58-
This rule assumes that the [visible inner text][] is equal to the [label as defined by WCAG][(ttps://www.w3.org/wai/wcag21/understanding/label-in-name#dfn-label), even though "label" is not precisely defined at this point in history.
58+
This rule assumes that the [visible inner text][] is equal to the [label as defined by WCAG][(https://www.w3.org/wai/wcag22/understanding/label-in-name#dfn-label), even though "label" is not precisely defined at this point in history.
5959

6060
This rule assumes that the visible label isn't rearranged with CSS so that it appears to the user in a different order than it appears in the DOM.
6161

0 commit comments

Comments
 (0)