We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
validate
validator
1 parent 66c81df commit 3f0cc28Copy full SHA for 3f0cc28
README.md
@@ -229,9 +229,9 @@ axe.run(document)
229
230
To confirm your usage is working as designed,
231
```js
232
-import {validate} from '@github/auto-complete-element/validator'
+import { validator } from '@github/auto-complete-element/validator'
233
234
-validate(document)
+const resultObject = validator(document)
235
```
236
Passes and failures may be determined by the length of the `passes` and `violations` arrays on the returned object:
237
0 commit comments