Sign In

@webability/jest

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webability/jest

Component-level accessibility testing for Jest and Vitest

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

@webability/jest

Component-level accessibility testing for Jest and Vitest.

Install

npm install -D @webability/jest

Usage

import { analyzeDOM, matchers } from '@webability/jest'

expect.extend(matchers)

test('button is accessible', () => {
  render(<Button onClick={save}>Save</Button>)
  const result = analyzeDOM()
  expect(result).toBeAccessible()
})

test('no critical violations', () => {
  render(<LoginForm />)
  const result = analyzeDOM()
  expect(result).toHaveNoViolations('critical')
})
  • WebAbility — AI-powered web accessibility platform
  • Abilyo — Developer tools for accessibility testing
  • Documentation

License

MIT

Keywords

a11y

FAQs

Package last updated on 27 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts