Skip to content

Commit aa7892a

Browse files
Merge branch 'rule-2ee8b8-may-2023' of https://github.com/dan-tripp-siteimprove/act-rules.github.io into rule-2ee8b8-may-2023
2 parents dee8fcd + 5a4182a commit aa7892a

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
@@ -109,15 +109,15 @@ This button has [visible inner text][] that is contained within the [accessible
109109

110110
#### Passed Example 5
111111

112-
This button has [visible inner text][] that does not need to be contained within the [accessible name][], because the "x" text node is [non-text content][]. Note: this would need to meet SC 1.1.1 Non text content.
112+
This button has [visible inner text][] that does not need to be contained within the [accessible name][], because the "X" text node is [non-text content][]; the [label in name algorithm][] therefore ignores it. Note: this would need to meet SC 1.1.1 Non text content.
113113

114114
```html
115115
<button aria-label="anything">X</button>
116116
```
117117

118118
#### Passed Example 6
119119

120-
This `button` element has the text "search" rendered as a magnifying glass icon by the font. Because the text is rendered as [non-text content][], the text does not need to be contained within the [accessible name][].
120+
This `button` element has the text "search" rendered as a magnifying glass icon by the font. Because the text is rendered as [non-text content][], the text does not need to be contained within the [accessible name][]; and the [label in name algorithm][] ignores it.
121121

122122
```html
123123
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
@@ -153,7 +153,7 @@ This button has [visible inner text][] that, according to the [label in name alg
153153

154154
#### Passed Example 9
155155

156-
The [visible inner text][] of this link is "ACT" (with no spaces) because of the explicit styles of `display: inline` on the `p` elements and the absence of whitespace between the `div` elements. The cases of `display: inline` and `display: block` are handled by the definition of [visible inner text of an element][]. This example shows that the definition agrees with the visual rendering done by the browser.
156+
The [visible inner text][] of this link is "ACT" (with no spaces) because of the explicit styles of `display: inline` on the `div` elements and the absence of whitespace between them. The cases of `display: inline` and `display: block` are handled by the definition of [visible inner text of an element][]. This example shows that the definition agrees with the visual rendering done by the browser.
157157

158158
```html
159159
<a href="#" aria-label="ACT">

0 commit comments

Comments
 (0)