You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -92,13 +92,14 @@ If you want to use the plugin's default settings (check **all** pages of your si
92
92
If you've installed the plugin via `netlify.toml`, you can add a `[[plugins.inputs]]` field to change how the plugin behaves. This table outlines the inputs the plugin accepts. All of them are optional.
93
93
94
94
95
-
| Input name | Description | Value type | Possible values | Default value |
|`checkPaths`| Indicates which pages of your site to check | Array of strings | Any directories or HTML files in your project |`['/']`|
98
-
|`failWithIssues`| Whether the build should fail if a11y issues are found | Boolean |`true` or `false`|`true`|
99
-
|`ignoreDirectories`| Directories that *should not* be checked for a11y issues | Array of strings | Any directories in your project |`[]`|
100
-
|`ignoreElements`| Indicates elements that should be ignored by a11y testing | String (CSS selector) | Comma-separated string of CSS selectors |`undefined`|
101
-
|`wcagLevel`| The WCAG standard level against which pages are checked | String |`'WCAG2A'` or `'WCAGA2A'` or `'WCAG2AAA'`|`'WCAG2AA'`|
95
+
| Input name | Description | Value type | Possible values | Default value |
|`checkPaths`| Indicates which pages of your site to check | Array of strings | Any directories or HTML files in your project |`['/']`|
98
+
|`failWithIssues`| Whether the build should fail if a11y issues are found | Boolean |`true` or `false`|`true`|
99
+
|`ignoreDirectories`| Directories that *should not* be checked for a11y issues | Array of strings | Any directories in your project |`[]`|
100
+
|`ignoreElements`| Indicates elements that should be ignored by a11y testing | String (CSS selector) | Comma-separated string of CSS selectors |`undefined`|
101
+
|`ignoreGuidelines`| Indicates guidelines and types to ignore ([pa11y docs](https://github.com/pa11y/pa11y#ignore-array)) | Array of strings | Comma-separated string of WCAG Guidlines |`[]`|
102
+
|`wcagLevel`| The WCAG standard level against which pages are checked | String |`'WCAG2A'` or `'WCAGA2A'` or `'WCAG2AAA'`|`'WCAG2AA'`|
102
103
103
104
Here's how these inputs can be used in `netlify.toml`, with comments to explain how each input affects the plugin's behavior:
104
105
@@ -114,6 +115,8 @@ Here's how these inputs can be used in `netlify.toml`, with comments to explain
114
115
ignoreDirectories = ['/admin']
115
116
# Ignore any accessibility issues associated with an element matching this selector
116
117
ignoreElements = '.jumbotron > h2'
118
+
# Ignore any accessibility issues associated with this rule code or type
0 commit comments