Skip to content

[A11y] Duplicate contentinfo landmark #1504

Description

@ritiupa

axe-core flags landmark-no-duplicate-contentinfo (moderate) on /reference/ and /reference/p5/circle/. Two elements both use role=contentinfo: the sticky banner and the main site footer. Neither has a distinguishing label. Screen reader users encounter two unlabeled contentinfo landmarks and cannot tell them apart.

Steps to reproduce:

  1. Go to /reference/ or /reference/p5/circle/
  2. Run axe DevTools or npm run test:a11y
  3. See landmark-no-duplicate-contentinfo violation

Expected: either one contentinfo landmark per page, or each one has a unique aria-label. The fix in PR #929 for the donate banner, adding aria-label to the footer element, may be a useful pattern here.

Related:
#928 (page-structure landmarks, coseeian, open). This is an adjacent issue about a missing landmark, not the same defect.
#929 and #1236 already fixed a different banner the same way.

@coseeian, can you confirm this is not already covered by #928 and help apply the right label?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions