Skip to content

Post-merge-review: Fix template-no-aria-unsupported-elements false positives on title/base/head/link#2655

Open
johanrd wants to merge 1 commit intoember-cli:masterfrom
johanrd:night_fix/template-no-aria-unsupported-elements
Open

Post-merge-review: Fix template-no-aria-unsupported-elements false positives on title/base/head/link#2655
johanrd wants to merge 1 commit intoember-cli:masterfrom
johanrd:night_fix/template-no-aria-unsupported-elements

Conversation

@johanrd
Copy link
Copy Markdown
Contributor

@johanrd johanrd commented Apr 13, 2026

What's broken on master

ELEMENTS_WITHOUT_ARIA_SUPPORT contains 8 tags. Upstream has only 4: html, meta, script, style (no-aria-unsupported-elements.js L7). Master flags valid usage of ARIA attributes on <title>, <base>, <head>, and <link>.

Fix

Remove title, base, head, link from the disallowed set, matching upstream exactly.

Test plan

  • 11/11 tests pass on the branch
  • 4 new valid test cases (one per removed element) fail on master

Co-written by Claude.

…in upstream

The port included title, base, head, and link in the unsupported elements
set, but the upstream ember-template-lint only has html, meta, script, and
style. The extra elements caused false positives.
@johanrd johanrd marked this pull request as ready for review April 13, 2026 10:27
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