Integrated: 8365305: The ARIA role ‘contentinfo’ is not valid for the element <footer>

Pasam Soujanya duke at openjdk.org
Mon Aug 18 09:41:26 UTC 2025


On Tue, 12 Aug 2025 05:14:40 GMT, Pasam Soujanya <duke at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 6e91ccd1
Author:    Pasam Soujanya <psoujany at in.ibm.com>
Committer: Hannes Wallnöfer <hannesw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6e91ccd1c3926094a9b6d8f9177d895aba3424a1
Stats:     22 lines in 3 files changed: 0 ins; 1 del; 21 mod

8365305: The ARIA role ‘contentinfo’ is not valid for the element <footer>

Reviewed-by: hannesw

-------------

PR: https://git.openjdk.org/jdk/pull/26737


More information about the javadoc-dev mailing list