You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/glossary/label-in-name-algorithm.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ input_aspects:
8
8
- DOM tree
9
9
---
10
10
11
+
To check whether an [element][] has <dfn>its label contained in its name</dfn>, follow this algorithm:
12
+
11
13
Let 'label' be the [visible inner text][] of the target element. Let 'name' be the [accessible name][] of the target element. Both 'label' and 'name' are strings.
12
14
13
15
Sub-algorithm to tokenize a string:
@@ -32,3 +34,4 @@ If the answer is "yes" (that is: the tokenized 'label' is a sublist of the token
32
34
33
35
[accessible name]: #accessible-name'Definition of accessible name'
34
36
[visible inner text]: #visible-inner-text'Definition of Visible inner text'
0 commit comments