diff --git a/lib/rules/aria-allowed-attr.json b/lib/rules/aria-allowed-attr.json index 3533d68a..b7f275c7 100644 --- a/lib/rules/aria-allowed-attr.json +++ b/lib/rules/aria-allowed-attr.json @@ -15,7 +15,7 @@ "metadata": { "description": "Ensure an element's role supports its ARIA attributes", "help": "Elements must only use supported ARIA attributes", - "needsReviewConfidence": 50 + "needsReviewConfidence": 49.99 }, "all": ["aria-allowed-attr"], "any": [], diff --git a/lib/rules/aria-allowed-role.json b/lib/rules/aria-allowed-role.json index 998c0c67..3f0cac37 100644 --- a/lib/rules/aria-allowed-role.json +++ b/lib/rules/aria-allowed-role.json @@ -8,7 +8,7 @@ "metadata": { "description": "Ensure role attribute has an appropriate value for the element", "help": "ARIA role should be appropriate for the element", - "needsReviewConfidence": 50 + "needsReviewConfidence": 49.99 }, "all": [], "any": ["aria-allowed-role"], diff --git a/lib/rules/aria-braille-equivalent.json b/lib/rules/aria-braille-equivalent.json index a406e59f..065c07cc 100644 --- a/lib/rules/aria-braille-equivalent.json +++ b/lib/rules/aria-braille-equivalent.json @@ -6,7 +6,9 @@ "tags": ["cat.aria", "wcag2a", "wcag412", "EN-301-549", "EN-9.4.1.2"], "metadata": { "description": "Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent", - "help": "aria-braille attributes must have a non-braille equivalent" + "help": "aria-braille attributes must have a non-braille equivalent", + "violationConfidence": 99, + "needsReviewConfidence": 49.99 }, "all": ["braille-roledescription-equivalent", "braille-label-equivalent"], "any": [], diff --git a/lib/rules/aria-hidden-focus.json b/lib/rules/aria-hidden-focus.json index af661357..afb1ad8f 100755 --- a/lib/rules/aria-hidden-focus.json +++ b/lib/rules/aria-hidden-focus.json @@ -19,7 +19,7 @@ "metadata": { "description": "Ensure aria-hidden elements are not focusable nor contain focusable elements", "help": "ARIA hidden element must not be focusable or contain focusable elements", - "needsReviewConfidence": 50 + "needsReviewConfidence": 49.99 }, "all": [ "focusable-modal-open", diff --git a/lib/rules/aria-input-field-name.json b/lib/rules/aria-input-field-name.json index 4e8b97ef..c08e7508 100644 --- a/lib/rules/aria-input-field-name.json +++ b/lib/rules/aria-input-field-name.json @@ -19,7 +19,7 @@ "metadata": { "description": "Ensure every ARIA input field has an accessible name", "help": "ARIA input fields must have an accessible name", - "needsReviewConfidence": 50 + "needsReviewConfidence": 49.99 }, "all": [], "any": ["aria-label", "aria-labelledby", "non-empty-title"], diff --git a/lib/rules/aria-prohibited-attr.json b/lib/rules/aria-prohibited-attr.json index c3b4ef9c..b04862ee 100644 --- a/lib/rules/aria-prohibited-attr.json +++ b/lib/rules/aria-prohibited-attr.json @@ -15,8 +15,6 @@ "metadata": { "description": "Ensure ARIA attributes are not prohibited for an element's role", "help": "Elements must only use permitted ARIA attributes", - "violationConfidence": 90, - "needsReviewConfidence": 50, "defaultCategory": "names-and-labels" }, "all": [], diff --git a/lib/rules/aria-required-children.json b/lib/rules/aria-required-children.json index 03b3529f..830343ef 100644 --- a/lib/rules/aria-required-children.json +++ b/lib/rules/aria-required-children.json @@ -16,7 +16,7 @@ "metadata": { "description": "Ensure elements with an ARIA role that require child roles contain them", "help": "Certain ARIA roles must contain particular children", - "needsReviewConfidence": 50 + "needsReviewConfidence": 49.99 }, "all": [], "any": ["aria-required-children"], diff --git a/lib/rules/aria-roledescription.json b/lib/rules/aria-roledescription.json index 0fc3b662..f9eb89d4 100644 --- a/lib/rules/aria-roledescription.json +++ b/lib/rules/aria-roledescription.json @@ -13,7 +13,9 @@ "enabled": false, "metadata": { "description": "Ensure aria-roledescription is only used on elements with an implicit or explicit role", - "help": "aria-roledescription must be on elements with a semantic role" + "help": "aria-roledescription must be on elements with a semantic role", + "violationConfidence": 99, + "needsReviewConfidence": 49.99 }, "all": [], "any": ["aria-roledescription"], diff --git a/lib/rules/aria-toggle-field-name.json b/lib/rules/aria-toggle-field-name.json index a29d62e2..e8d7d31c 100644 --- a/lib/rules/aria-toggle-field-name.json +++ b/lib/rules/aria-toggle-field-name.json @@ -19,7 +19,7 @@ "metadata": { "description": "Ensure every ARIA toggle field has an accessible name", "help": "ARIA toggle fields must have an accessible name", - "needsReviewConfidence": 50 + "needsReviewConfidence": 49.99 }, "all": [], "any": [ diff --git a/lib/rules/aria-valid-attr-value.json b/lib/rules/aria-valid-attr-value.json index afe72fab..ac92598e 100644 --- a/lib/rules/aria-valid-attr-value.json +++ b/lib/rules/aria-valid-attr-value.json @@ -15,7 +15,7 @@ "metadata": { "description": "Ensure all ARIA attributes have valid values", "help": "ARIA attributes must conform to valid values", - "needsReviewConfidence": 50 + "needsReviewConfidence": 49.99 }, "all": ["aria-valid-attr-value", "aria-errormessage", "aria-level"], "any": [], diff --git a/lib/rules/audio-caption.json b/lib/rules/audio-caption.json index 5776d2b8..44e83b3c 100644 --- a/lib/rules/audio-caption.json +++ b/lib/rules/audio-caption.json @@ -17,7 +17,9 @@ "actIds": ["2eb176", "afb423"], "metadata": { "description": "Ensure