Skip to content

linter: jsx-a11y/iframe-has-title does not accept template literals #21712

@jackstevenson

Description

@jackstevenson

What version of Oxlint are you using?

1.61.0

What command did you run?

oxlint

What does your .oxlintrc.json (or oxlint.config.ts) config file look like?

{
  "plugins": ["jsx-a11y"],
  "categories": {
    "correctness": "off"
  },
  "rules": {
    "jsx-a11y/iframe-has-title": "error",
  },
}

What happened?

Oxlint fails to recognise when the title attribute of an iframe has been set using a template literal.

Playground repro

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions