The source project of this merge request has been removed.
fix(html5): `<th>` does not require `scope` attribute
The attribute scope
is not required on h2
in HTML5. Its default value is auto
, since (it seems) 2013. This change will drop all enforcement on it.
Considered, but not done:
- Add a custom rule like
wcag/h63
to enforcescope
. Not done because no existing rule prohibitsscope="auto"
. - Add an opinionated rule for
scope="auto"
, e.g., mixed use withcolspan
androwspan
. Doesn’t fit into the essence of the tool. Also see above. - Pass
html-validate
on public docs. They were already failing. - Update
CHANGELOG.md
perCONTRIBUTING.md
. This seems to be automated now.
Checklist
-
Documentation updated -
Change covered by a testcase -
Commit history cleaned (no WIP, fixups, etc)