Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 498 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 498 Bytes

@sa11y/format

Format accessibility results from axe

Usage

import axe from 'axe-core';
import { A11yError } from '@sa11y/format';

const results = await axe.run();
console.log(A11yError.checkAndThrow(results.violations));