Skip to content

style(eslint): disallow title attribute#1488

Closed
caugner wants to merge 1 commit intomainfrom
a11y-no-title-attribute
Closed

style(eslint): disallow title attribute#1488
caugner wants to merge 1 commit intomainfrom
a11y-no-title-attribute

Conversation

@caugner
Copy link
Copy Markdown
Contributor

@caugner caugner commented Apr 16, 2026

Description

Adds new ESLint rule a11y-no-title-attribute that disallows the HTML title attribute in general (except for iframes where it is encouraged).

Motivation

Avoid accessibility issues.

Additional details

For now, the rule is only a warning to raise awareness.

Related issues and pull requests

Derived from #1475.

@caugner caugner requested a review from a team as a code owner April 16, 2026 18:11
@caugner caugner requested a review from LeoMcA April 16, 2026 18:11
@caugner caugner marked this pull request as draft April 16, 2026 18:11
@github-actions
Copy link
Copy Markdown
Contributor

c808c41 was deployed to: https://fred-pr1488.review.mdn.allizom.net/

@caugner
Copy link
Copy Markdown
Contributor Author

caugner commented Apr 20, 2026

After discussion, closing in favor of #1475.

@caugner caugner closed this Apr 20, 2026
@caugner caugner deleted the a11y-no-title-attribute branch April 20, 2026 17:00
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.

2 participants