|
| 1 | +[ |
| 2 | + { |
| 3 | + "description": "Ensures all ARIA attributes have valid values", |
| 4 | + "help": "ARIA attributes must conform to valid values", |
| 5 | + "helpUrl": "https://dequeuniversity.com/rules/axe/4.3/aria-valid-attr-value?application=webdriverjs", |
| 6 | + "id": "aria-valid-attr-value", |
| 7 | + "impact": "critical", |
| 8 | + "nodes": [ |
| 9 | + { |
| 10 | + "all": [ |
| 11 | + { |
| 12 | + "data": [ |
| 13 | + "id-message-1" |
| 14 | + ], |
| 15 | + "id": "aria-errormessage", |
| 16 | + "impact": "critical", |
| 17 | + "message": "aria-errormessage value `id-message-1` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)", |
| 18 | + "relatedNodes": [] |
| 19 | + } |
| 20 | + ], |
| 21 | + "any": [], |
| 22 | + "failureSummary": "Fix all of the following:\n aria-errormessage value `id-message-1` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)", |
| 23 | + "html": "<input type=\"text\" id=\"input-1\" aria-invalid=\"true\" aria-errormessage=\"id-message-1\" class=\"fail\">", |
| 24 | + "impact": "critical", |
| 25 | + "none": [], |
| 26 | + "target": [ |
| 27 | + "#input-1" |
| 28 | + ] |
| 29 | + }, |
| 30 | + { |
| 31 | + "all": [ |
| 32 | + { |
| 33 | + "data": [ |
| 34 | + "id-message-2" |
| 35 | + ], |
| 36 | + "id": "aria-errormessage", |
| 37 | + "impact": "critical", |
| 38 | + "message": "aria-errormessage value `id-message-2` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)", |
| 39 | + "relatedNodes": [] |
| 40 | + } |
| 41 | + ], |
| 42 | + "any": [], |
| 43 | + "failureSummary": "Fix all of the following:\n aria-errormessage value `id-message-2` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)", |
| 44 | + "html": "<input type=\"text\" id=\"input-2\" aria-invalid=\"true\" aria-errormessage=\"id-message-2\" class=\"fail\">", |
| 45 | + "impact": "critical", |
| 46 | + "none": [], |
| 47 | + "target": [ |
| 48 | + "#input-2" |
| 49 | + ] |
| 50 | + }, |
| 51 | + { |
| 52 | + "all": [ |
| 53 | + { |
| 54 | + "data": [ |
| 55 | + "id-message-3" |
| 56 | + ], |
| 57 | + "id": "aria-errormessage", |
| 58 | + "impact": "critical", |
| 59 | + "message": "aria-errormessage value `id-message-3` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)", |
| 60 | + "relatedNodes": [] |
| 61 | + } |
| 62 | + ], |
| 63 | + "any": [], |
| 64 | + "failureSummary": "Fix all of the following:\n aria-errormessage value `id-message-3` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)", |
| 65 | + "html": "<input type=\"text\" id=\"input-3\" aria-invalid=\"true\" aria-errormessage=\"id-message-3\" class=\"fail\">", |
| 66 | + "impact": "critical", |
| 67 | + "none": [], |
| 68 | + "target": [ |
| 69 | + "#input-3" |
| 70 | + ] |
| 71 | + }, |
| 72 | + { |
| 73 | + "all": [ |
| 74 | + { |
| 75 | + "data": [ |
| 76 | + "id-message-7" |
| 77 | + ], |
| 78 | + "id": "aria-errormessage", |
| 79 | + "impact": "critical", |
| 80 | + "message": "aria-errormessage value `id-message-7` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)", |
| 81 | + "relatedNodes": [] |
| 82 | + } |
| 83 | + ], |
| 84 | + "any": [], |
| 85 | + "failureSummary": "Fix all of the following:\n aria-errormessage value `id-message-7` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)", |
| 86 | + "html": "<input type=\"text\" id=\"input-7\" aria-invalid=\"true\" aria-errormessage=\"id-message-7\" class=\"pass\">", |
| 87 | + "impact": "critical", |
| 88 | + "none": [], |
| 89 | + "target": [ |
| 90 | + "#input-7" |
| 91 | + ] |
| 92 | + } |
| 93 | + ], |
| 94 | + "tags": [ |
| 95 | + "cat.aria", |
| 96 | + "wcag2a", |
| 97 | + "wcag412" |
| 98 | + ] |
| 99 | + } |
| 100 | +] |
0 commit comments