Skip to content

feat(headings): Landmarks and All views in the Headings panel - #13

Merged
maxgfr merged 4 commits into
release-nextfrom
issue-5-landmarks
Nov 20, 2026
Merged

maxgfr merged 4 commits into
release-nextfrom
issue-5-landmarks

Conversation

@maxgfr

@maxgfr maxgfr commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Adds an ARIA landmarks view to the Headings panel, like HeadingsMap's Landmarks tab.

  • collectLandmarks() maps landmarks as browsers do (HTML-AAM): header/footer are banner/contentinfo only outside sectioning content, section/form only with a name, an explicit role wins, role="none" removes it. Accessible name from aria-labelledby, aria-label, title.
  • View switcher Headings | Landmarks | All (All nests each landmark's headings, plus "Outside landmarks"), Expand all / Collapse all, click to locate in the page, landmark badges in the page.
  • Issues: no or several main, several top-level banner/contentinfo, nested top-level landmarks, duplicate unnamed or same-named landmarks, landmarks hidden from assistive tech, redundant roles, headings outside landmarks.
  • Copy for agent includes the landmarks outline and issues.
  • Panel renamed "Headings & landmarks" (id and short name unchanged), new palette keywords.

Tests: unit tests on a GitHub-like structure (the outline from the issue), HTML-AAM cases and issues; 8 new e2e checks.

Closes #5

@maxgfr
maxgfr changed the base branch from main to release-next November 20, 2026 10:47
@maxgfr
maxgfr merged commit b08e619 into release-next Nov 20, 2026
2 checks passed
@maxgfr
maxgfr deleted the issue-5-landmarks branch November 20, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Landmarks view in the Headings panel

1 participant