Sign In

@webability/playwright

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/playwright

Playwright accessibility testing helper — drop-in a11y checks for your test suite

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

@webability/playwright

Accessibility testing for Playwright test suites. Drop-in, one line.

Install

npm install -D @webability/playwright

Usage

import { test, expect } from '@playwright/test'
import { a11yCheck } from '@webability/playwright'

test('homepage is accessible', async ({ page }) => {
  await page.goto('/')
  const result = await a11yCheck(page)
  expect(result.summary.critical).toBe(0)
})

Continuous monitoring (SPAs)

import { WebAbility } from '@webability/playwright'

test('checkout flow is accessible', async ({ page }) => {
  const wa = new WebAbility(page)

  await page.goto('/shop')
  await wa.start()

  await page.click('[data-add-to-cart]')
  await page.click('[data-checkout]')
  await page.fill('#email', 'test@example.com')

  const result = await wa.stop()
  expect(result.summary.critical).toBe(0)
})
  • 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