Skip to content

No oxlint equivalent for vuejs-accessibility #2

Description

@Radiergummi

js/src/eslint/vue.js enables eslint-plugin-vuejs-accessibility's flat/recommended set and configures two rules explicitly:

  • vuejs-accessibility/no-autofocus (warn)
  • vuejs-accessibility/mouse-events-have-key-events (warn)

oxlint has a jsx-a11y plugin but nothing for Vue templates, so accessibility linting in .vue files has zero oxlint coverage today, not partial coverage.

What needs to happen

  • Check whether oxlint plans Vue template a11y rules; link the upstream issue.
  • Decide whether losing a11y linting is acceptable in exchange for dropping ESLint. Probably not, which makes this a hard blocker rather than a triageable one.
  • If it stays a blocker, consider whether a11y checking belongs in linting at all, or whether it is better served by a11y assertions in component tests, which would remove the dependency rather than replace it.

Note on scale

This is only two configured rules plus the recommended set, so it is small in rule count but not in value: a11y regressions are exactly the class of bug that no other check in the stack catches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked-by-upstreamWaiting on capability in a third-party tooleslint-removalPart of removing ESLint from the preset stack

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions