Skip to content

Accessibility issue: Document should not have more than one banner landmark on /en/latest/examples/admonitions.html #327

Description

@thibaudcolas

Note

This is a best-practice recommendation, not a definite WCAG failure.

What

An accessibility scan flagged an element on https://sphinx-wagtail-theme.readthedocs.io/en/latest/examples/admonitions.html because document should not have more than one banner landmark. Learn more about why this was flagged by visiting https://dequeuniversity.com/rules/axe/4.11/landmark-no-duplicate-banner?application=playwright.

The following element needs attention:

  • <header class="container-fluid bg-primary"> (selector: .bg-primary:nth-child(2))

To fix this, ensure the document has at most one banner landmark.

Specifically:

Fix any of the following:

  • Document has more than one banner landmark

Acceptance Criteria

  • The specific violation reported in this issue is no longer reproducible.
  • The fix MUST meet the accessibility standards specified by the repository or organization (WCAG 2.2 if applicable).
  • A test SHOULD be added to ensure this specific violation does not regress.
  • This PR MUST NOT introduce any new accessibility issues or regressions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions