Commit 9211525
committed
refactor(template-no-noninteractive-tabindex): consume shared INTERACTIVE_ROLES util (Copilot review)
Replace inline derivation (widget/command/composite/input/range ancestor
union) with the shared util's (widget-ancestor only + toolbar). The util
is more spec-correct: 'meter' was in the inline set via its 'range'
ancestor but per ARIA 1.2 it's a structure/section role, not a widget.
All 49 existing tests pass. Addresses the dead-import concern AND the
'two sources of truth' concern in one change.1 parent e46bb77 commit 9211525
1 file changed
Lines changed: 1 addition & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 4 | + | |
35 | 5 | | |
36 | 6 | | |
37 | 7 | | |
| |||
0 commit comments