File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -3442,21 +3442,25 @@ To <dfn>collect nodes using accessibility attributes</dfn> with given |context n
3442
3442
3443
3443
1. Let |match| be true.
3444
3444
3445
- 1. If |selector| [=map/contains=] " <code> role </code> " :
3445
+ 1. If |context node| implements {{Element}} :
3446
3446
3447
- 1. Let |role| be the [=computed role =] of |context node|.
3447
+ 1. If |selector| [=map/contains =] " <code> role </code> ":
3448
3448
3449
- 1. If |selector| ["<code> role</code>"] [=is|is not =] |role|:
3449
+ 1. Let | role| be the [=computed role =] of |context node|.
3450
3450
3451
- 1. Set |match| to false.
3451
+ 1. If |selector| ["<code>role</code>"] [=is|is not=] |role|:
3452
3452
3453
- 1. If |selector| [=map/contains=] " <code> name </code> ":
3453
+ 1. Set |match| to false.
3454
3454
3455
- 1. Let |name| be the [=accessible name =] of |context node|.
3455
+ 1. If |selector| [=map/contains =] " <code> name </code> ":
3456
3456
3457
- 1. If |selector| ["<code> name</code>"] [=is|is not =] |name|:
3457
+ 1. Let | name| be the [=accessible name =] of |context node|.
3458
3458
3459
- 1. Set |match| to false.
3459
+ 1. If |selector|["<code>name</code>"] [=is|is not=] |name|:
3460
+
3461
+ 1. Set |match| to false.
3462
+
3463
+ 1. Otherwise, set |match| to false.
3460
3464
3461
3465
1. If |match| is true:
3462
3466
You can’t perform that action at this time.
0 commit comments