accessibility-testing-utils
1.0.4 • Public • Published
yarn add accessibility-testing-utils
OR
npm install accessibility-testing-utils
import {blurElementStyle} from "accessibility-testing-utils"
<div style={blurElementStyle}>{children}</div>
- This will make
src
of all the images an invalid string.
- Even though tools like Lighthouse makes sure image has a valid alt attribute, but it's better to test it manually.
-
Watch this to know why this is important.
import { testImageAltAttribute } from 'accessibility-testing-utils';
React.useEffect(()=>{
testImageAltAttribute()
},[])
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.4
1
Version History
Package Sidebar
Install
npm i accessibility-testing-utils
Weekly Downloads