Skip to content

Fix template-no-nested-landmark: drop port-only section/region#2694

Open
johanrd wants to merge 1 commit intoember-cli:masterfrom
johanrd:day_fix/template-no-nested-landmark
Open

Fix template-no-nested-landmark: drop port-only section/region#2694
johanrd wants to merge 1 commit intoember-cli:masterfrom
johanrd:day_fix/template-no-nested-landmark

Conversation

@johanrd
Copy link
Copy Markdown
Contributor

@johanrd johanrd commented Apr 13, 2026

Summary

  • Removes <section> from LANDMARK_ELEMENTS and 'region' from LANDMARK_ROLES to match upstream
  • Port was over-flagging legitimate nested <section> elements

Test plan

  • <section><section>...</section></section> → valid
  • <div role="region"><div role="region">...</div></div> → valid
  • <main><nav>...</nav></main> → still flagged

Upstream excludes <section> from LANDMARK_ELEMENTS and 'region' from
LANDMARK_ROLES. Restore parity — port was over-flagging legitimate
nested sections.
@johanrd johanrd marked this pull request as ready for review April 13, 2026 16:23
@johanrd johanrd force-pushed the day_fix/template-no-nested-landmark branch from e18dc6a to 958884b Compare April 13, 2026 17: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.

1 participant