Skip to content

Commit

Permalink
docs(packages/puppeteer): fix incorrect documentation for withTags de…
Browse files Browse the repository at this point in the history
…scription (#881)
  • Loading branch information
scurker authored Oct 20, 2023
1 parent fdc3361 commit 299a0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/puppeteer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ new AxePuppeteer(page).withRules(['html-lang', 'image-alt']);

### AxePuppeteer#withTags(tags: string | string[])

Limits analysis to only those with the specified rule IDs. Accepts a String of a single tag or an Array of multiple tags. **Subsequent calls to `AxePuppeteer#options`, `AxePuppeteer#withRules` or `AxePuppeteer#withRules` will override specified options.**
Limits analysis to only those with the specified tag or tags. Accepts a String of a single tag or an Array of multiple tags. **Subsequent calls to `AxePuppeteer#options`, `AxePuppeteer#withRules` or `AxePuppeteer#withRules` will override specified options.**

```js
new AxePuppeteer(page).withTags('wcag2a');
Expand Down

0 comments on commit 299a0b4

Please sign in to comment.