|
59 | 59 | }, |
60 | 60 | "aria-prohibited-attr": { |
61 | 61 | "description": "Ensure ARIA attributes are not prohibited for an element's role", |
62 | | - "help": "Elements must only use permitted ARIA attributes" |
| 62 | + "help": "Elements must only use permitted ARIA attributes", |
| 63 | + "violationConfidence": 90, |
| 64 | + "needsReviewConfidence": 60, |
| 65 | + "defaultCategory": "names-and-labels" |
63 | 66 | }, |
64 | 67 | "aria-required-attr": { |
65 | 68 | "description": "Ensure elements with ARIA roles have all required ARIA attributes", |
|
131 | 134 | }, |
132 | 135 | "color-contrast-enhanced": { |
133 | 136 | "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds", |
134 | | - "help": "Elements must meet enhanced color contrast ratio thresholds" |
| 137 | + "help": "Elements must meet enhanced color contrast ratio thresholds", |
| 138 | + "violationConfidence": 90, |
| 139 | + "needsReviewConfidence": 60, |
| 140 | + "defaultCategory": "text-contrast-enhanced" |
135 | 141 | }, |
136 | 142 | "color-contrast": { |
137 | 143 | "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds", |
138 | | - "help": "Elements must meet minimum color contrast ratio thresholds" |
| 144 | + "help": "Elements must meet minimum color contrast ratio thresholds", |
| 145 | + "violationConfidence": 90, |
| 146 | + "needsReviewConfidence": 60, |
| 147 | + "defaultCategory": "text-contrast" |
139 | 148 | }, |
140 | 149 | "css-orientation-lock": { |
141 | 150 | "description": "Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations", |
|
243 | 252 | }, |
244 | 253 | "label-content-name-mismatch": { |
245 | 254 | "description": "Ensure that elements labelled through their content must have their visible text as part of their accessible name", |
246 | | - "help": "Elements must have their visible text as part of their accessible name" |
| 255 | + "help": "Elements must have their visible text as part of their accessible name", |
| 256 | + "violationConfidence": 90, |
| 257 | + "needsReviewConfidence": 60, |
| 258 | + "defaultCategory": "names-and-labels" |
247 | 259 | }, |
248 | 260 | "label-title-only": { |
249 | 261 | "description": "Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes", |
|
291 | 303 | }, |
292 | 304 | "link-in-text-block": { |
293 | 305 | "description": "Ensure links are distinguished from surrounding text in a way that does not rely on color", |
294 | | - "help": "Links must be distinguishable without relying on color" |
| 306 | + "help": "Links must be distinguishable without relying on color", |
| 307 | + "violationConfidence": 90, |
| 308 | + "needsReviewConfidence": 60, |
| 309 | + "defaultCategory": "links" |
295 | 310 | }, |
296 | 311 | "link-name": { |
297 | 312 | "description": "Ensure links have discernible text", |
|
0 commit comments