Skip to content

Commit

Permalink
docs: clarify axe.run options paramter does not modify rules or checks (
Browse files Browse the repository at this point in the history
#3015)

* docs: clarify axe.run options paramter does not modify rules or checks

* Update doc/API.md

Co-authored-by: Cassey Lottman <[email protected]>

Co-authored-by: Cassey Lottman <[email protected]>
  • Loading branch information
straker and clottman authored Jun 17, 2021
1 parent 4392bc0 commit ee17b67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ axe.run(context, options, (err, results) => {
#### Parameters axe.run

- [`context`](#context-parameter): (optional) Defines the scope of the analysis - the part of the DOM that you would like to analyze. This will typically be the `document` or a specific selector such as class name, ID, selector, etc.
- [`options`](#options-parameter): (optional) Set of options passed into rules or checks, temporarily modifying them. This contrasts with `axe.configure`, which is more permanent.
- [`options`](#options-parameter): (optional) Set of options that change how `axe.run` works, including what rules will run. To pass options to specific checks, use `axe.configure`.
- [`callback`](#callback-parameter): (optional) The callback function which receives either null or an [error result](#error-result) as the first parameter, and the [results object](#results-object) when analysis is completed successfully, or undefined if it did not.

##### Context Parameter
Expand Down

0 comments on commit ee17b67

Please sign in to comment.