This package, `eslint-plugin-vue-a11y`, is an ESLint plugin designed to statically check accessibility rules within Vue.js single-file components (`.vue` files). It aims to help developers identify common accessibility issues in their Vue templates and scripts. However, it is important to note that this specific package, currently at version 0.0.31, has been abandoned. Its last known update was seven years ago, and it only supports older versions of ESLint (peer dependencies `^3 || ^4 || ^5`) and implicitly older Vue.js versions. For modern Vue.js and ESLint environments, the actively maintained and recommended successor is `eslint-plugin-vuejs-accessibility`, which provides similar functionality with ongoing development and compatibility with current toolchains.
npm install eslint-plugin-vue-a11yVerified import paths — ran on the pinned version, not inferred.
This `.eslintrc.json` snippet demonstrates how to configure the `eslint-plugin-vue-a11y` plugin, enabling its base rules and a few specific rules. This configuration is for the abandoned package and is not compatible with modern ESLint or Vue.js projects. Consider using `eslint-plugin-vuejs-accessibility` instead.
Migrate to the actively maintained successor `eslint-plugin-vuejs-accessibility`. Uninstall `eslint-plugin-vue-a11y` and install `eslint-plugin-vuejs-accessibility` instead.
For new projects or existing projects using modern Vue/ESLint, use `eslint-plugin-vuejs-accessibility` (e.g., `npm install --save-dev eslint-plugin-vuejs-accessibility`).
No direct fix, but reinforces the recommendation to switch to `eslint-plugin-vuejs-accessibility` for a stable and maintained solution.
Ensure both ESLint and its plugins are installed locally within your project for better consistency and version control.
This package is abandoned. Update your project to use `eslint-plugin-vuejs-accessibility` and a modern ESLint version, or downgrade ESLint to a compatible version (not recommended for long-term projects).
Ensure `"vue-a11y"` is present in the `plugins` array and that the rule ID (e.g., `alt-text`) is correctly prefixed with `vue-a11y/`.
Ensure `vue-eslint-parser` is installed and properly configured in your ESLint `parserOptions`, potentially through extending a recommended Vue config (e.g., `plugin:vue/recommended`). However, remember this package is abandoned.