Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 4.1.2 #2792

Merged
merged 5 commits into from
Feb 9, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: add noHtml to axe.configure (#2789)
* fix: add noHtml to axe.configure

* docs

* Update lib/core/utils/dq-element.js

Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com>

* Update lib/core/utils/dq-element.js

Co-authored-by: Stephen Mathieson <me@stephenmathieson.com>

* tests

Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com>
Co-authored-by: Stephen Mathieson <me@stephenmathieson.com>
  • Loading branch information
3 people committed Feb 8, 2021
commit 6e23eb0839da5806da5476a5158fb6324d3ee005
24 changes: 13 additions & 11 deletions doc/API.md
Original file line number Diff line number Diff line change
@@ -179,17 +179,18 @@ User specifies the format of the JSON structure passed to the callback of `axe.r

```js
axe.configure({
branding: {
brand: String,
application: String
},
reporter: 'option' | Function,
checks: [Object],
rules: [Object],
standards: Object,
locale: Object,
axeVersion: String,
disableOtherRules: Boolean
branding: {
brand: String,
application: String
},
reporter: 'option' | Function,
checks: [Object],
rules: [Object],
standards: Object,
locale: Object,
axeVersion: String,
disableOtherRules: Boolean,
noHtml: Boolean
});
```

@@ -232,6 +233,7 @@ axe.configure({
- `disableOtherRules` - Disables all rules not included in the `rules` property.
- `locale` - A locale object to apply (at runtime) to all rules and checks, in the same shape as `/locales/*.json`.
- `axeVersion` - Set the compatible version of a custom rule with the current axe version. Compatible versions are all patch and minor updates that are the same as, or newer than those of the `axeVersion` property.
- `noHtml` - Disables the HTML output of nodes from rules.

**Returns:** Nothing

Loading