Commit 7a5aa81
authored
Correction for HTML element role mapping (#550)
Correction for HTML element role mapping
per w3c/aria#2504 - the html element doesn't actually map to the `document` role - rather a parent `document node` to the `html` element is what exposes the `document` role of a web page.
This update fixes the spec to match the updated HTML aam mapping / matches reality.
The `generic` role is being added as an "allowed" but not recommended role to the `html` element. The `document` role is being kept as an allowed role for the `html` element. The rational there being that this has been in the spec for a long time and even when specified on the html element, from what i can tell, there's no pro/con to its inclusion.1 parent a4ba0a6 commit 7a5aa81
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
1532 | 1537 | | |
1533 | 1538 | | |
1534 | 1539 | | |
1535 | | - | |
| 1540 | + | |
1536 | 1541 | | |
1537 | 1542 | | |
1538 | 1543 | | |
1539 | | - | |
| 1544 | + | |
| 1545 | + | |
1540 | 1546 | | |
1541 | 1547 | | |
1542 | 1548 | | |
| |||
0 commit comments