Commit f07093f
committed
refactor(template-require-presentational-children): source role list from aria-query
Replaces a hand-maintained list of 14 roles with a derivation from
aria-query's role.childrenPresentational flag.
Coverage grows from 14 to 16 roles — aria-query also includes
doc-pagebreak (DPUB-ARIA) and graphics-symbol (Graphics-ARIA), both
of which spec-require presentational children. Previously those would
have been silently accepted.
Spec: WAI-ARIA 1.2 — Children Presentational
https://www.w3.org/TR/wai-aria-1.2/#childrenArePresentational1 parent 24882a3 commit f07093f
1 file changed
Lines changed: 8 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
19 | 9 | | |
20 | 10 | | |
21 | 11 | | |
| |||
0 commit comments