RFR: 8365305: The ARIA role ‘contentinfo’ is not valid for the element <footer>
Pasam Soujanya
duke at openjdk.org
Tue Aug 12 05:20:51 UTC 2025
Accessibility testing reported a violation with rule_id aria_role_valid for API docs which has role=contentinfo for footer HTML element. As per https://www.w3.org/TR/html-aria/#docconformance, if footer is a descendant of an article, aside, main, nav or section element, or an element with role=article, complementary, main, navigation or region then role=contentinfo is not allowed.
-------------
Commit messages:
- Fix accessibility arai_role_valid violation
- Fix accessibility arai_role_valid violation
Changes: https://git.openjdk.org/jdk/pull/26737/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26737&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8365305
Stats: 22 lines in 3 files changed: 0 ins; 1 del; 21 mod
Patch: https://git.openjdk.org/jdk/pull/26737.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26737/head:pull/26737
PR: https://git.openjdk.org/jdk/pull/26737
More information about the javadoc-dev
mailing list