accented
v1.2.2
Published
A frontend library for continuous accessibility testing and issue highlighting
Maintainers
Readme
Accented
A frontend library for continuous accessibility testing and issue highlighting.
What is Accented?
Accented is a visual library built on axe-core that helps you catch issues in real time.
It displays interactive highlights for every accessibility issue that axe-core detects.
Here’s a side-by-side comparison — without Accented vs. with it enabled:

Try it out at the Playground (StackBlitz).
Accented works well alongside other common accessibility tools:
- It can catch more problems than source code linters alone.
The popular
eslint-plugin-jsx-a11yor the Biome a11y linter are great, and they validate the whole codebase at once, but some issues can only be detected in the rendered page. For example, the linter cannot find issues with color contrast or heading order. Besides, Accented is not tied to JSX. - It runs as part of your project code — no browser extension or editor setup required. You’d get a similar audit from Lighthouse or axe DevTools, but with Accented, there’s nothing extra to install, and the results are always up to date.
- No need to write extra code, unlike when adding accessibility checks to a test suite.
You can test for accessibility issues in your test suite,
for example using
@axe-core/playwright. That means writing test cases for every state of your app you want to check. Accented, by contrast, automatically scans whatever’s currently visible in the browser.
When used in console-only mode, Accented behaves similarly to @axe-core/react and can serve as a direct replacement. Unlike @axe-core/react, Accented works with any framework — or none at all — making it suitable for any web project.
Learn more at accented.dev.
Installation and usage
Install:
npm install --save-dev accentedThen import and run during app initialization:
if (process.env.NODE_ENV === 'development') {
const { accented } = await import('accented');
accented();
}⚠️ Heads up: Accented is for development use only. Don’t expose it to end users.
See the docs for your bundler or framework for how to run code only in the development environment.
More info
- Accessibility (how accessible is Accented itself?)
- Performance (does it affect runtime performance?)
- Browser support (will Accented work for me and my teammates?)
- Versioning policy (Accented follows SemVer)
- Changelog
Contributing
Contributions are welcome!
- See CONTRIBUTING.md for setup instructions and guidelines.
- Feel free to open an issue or pull request if you spot a bug or have a feature idea.
Have feedback or ideas? Reach out to Pavel at [email protected].
