Skip to content

Commit c04f35f

Browse files
committed
docs(template-require-mandatory-role-attributes): audit spec citations
- Replace broken `html-aam-1.1` URL with `html-aam-1.0`. There is no HTML-AAM 1.1 published recommendation; 1.0 is the published TR and contains the cited `#el-input-checkbox` anchor. - Soften the description of how the native element supplies aria-checked. HTML-AAM 1.0 §3.5.59 derives the value from the element's checkedness (plus `indeterminate` for the `mixed` value), not directly from the `checked` IDL attribute.
1 parent 6bc9ac2 commit c04f35f

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docs/rules/template-require-mandatory-role-attributes.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ Undocumented pairings (e.g. `<input type="checkbox" role="menuitemcheckbox">`
6262

6363
- [WAI-ARIA Roles](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles)
6464
- [WAI-ARIA APG — Switch pattern](https://www.w3.org/WAI/ARIA/apg/patterns/switch/)
65-
- [HTML-AAM — `<input type="checkbox">``checkbox` role mapping](https://www.w3.org/TR/html-aam-1.1/#el-input-checkbox)
66-
— primary-spec source: the native element's accessibility mapping supplies
67-
the required ARIA state via the `checked` IDL attribute, which is what
68-
axobject-query encodes.
65+
- [HTML-AAM — `<input type="checkbox">``checkbox` role mapping](https://www.w3.org/TR/html-aam-1.0/#el-input-checkbox)
66+
— primary-spec source: HTML-AAM maps the native element to the
67+
`checkbox` role and derives `aria-checked` from the element's
68+
checkedness (and `indeterminate` for `mixed`). axobject-query
69+
encodes that mapping for tooling.
6970
- [axobject-query](https://github.com/A11yance/axobject-query) — AX-tree data source for the exemption lookup (secondary, encodes HTML-AAM)

0 commit comments

Comments
 (0)