|
1 | 1 | [ |
2 | | - { |
3 | | - "id": "aria-prohibited-attr", |
4 | | - "impact": "serious", |
5 | | - "tags": [ |
6 | | - "cat.aria", |
7 | | - "wcag2a", |
8 | | - "wcag412", |
9 | | - "EN-301-549", |
10 | | - "EN-9.4.1.2", |
11 | | - "RGAAv4", |
12 | | - "RGAA-7.1.1" |
13 | | - ], |
14 | | - "description": "Ensure ARIA attributes are not prohibited for an element's role", |
15 | | - "help": "Elements must only use permitted ARIA attributes", |
16 | | - "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-prohibited-attr?application=playwright", |
17 | | - "nodes": [ |
18 | | - { |
19 | | - "any": [], |
20 | | - "all": [], |
21 | | - "none": [ |
22 | | - { |
23 | | - "id": "aria-prohibited-attr", |
24 | | - "data": { |
25 | | - "role": null, |
26 | | - "nodeName": "highlighter-element", |
27 | | - "messageKey": "noRoleSingular", |
28 | | - "prohibited": [ |
29 | | - "aria-label" |
30 | | - ] |
31 | | - }, |
32 | | - "relatedNodes": [], |
33 | | - "impact": "serious", |
34 | | - "message": "aria-label attribute is not well supported on a highlighter-element with no valid role attribute." |
35 | | - } |
36 | | - ], |
37 | | - "impact": "serious", |
38 | | - "html": "<highlighter-element aria-label=\"Share this insight\">", |
39 | | - "target": [ |
40 | | - "highlighter-element" |
41 | | - ], |
42 | | - "failureSummary": "Fix all of the following:\n aria-label attribute is not well supported on a highlighter-element with no valid role attribute." |
43 | | - }, |
44 | | - { |
45 | | - "any": [], |
46 | | - "all": [], |
47 | | - "none": [ |
48 | | - { |
49 | | - "id": "aria-prohibited-attr", |
50 | | - "data": { |
51 | | - "role": null, |
52 | | - "nodeName": "section", |
53 | | - "messageKey": "noRoleSingular", |
54 | | - "prohibited": [ |
55 | | - "aria-labelledby" |
56 | | - ] |
57 | | - }, |
58 | | - "relatedNodes": [], |
59 | | - "impact": "serious", |
60 | | - "message": "aria-labelledby attribute is not well supported on a section with no valid role attribute." |
61 | | - } |
62 | | - ], |
63 | | - "impact": "serious", |
64 | | - "html": "<section aria-labelledby=\"article-share-title\">", |
65 | | - "target": [ |
66 | | - "section[aria-labelledby=\"article-share-title\"]" |
67 | | - ], |
68 | | - "failureSummary": "Fix all of the following:\n aria-labelledby attribute is not well supported on a section with no valid role attribute." |
69 | | - } |
70 | | - ] |
71 | | - }, |
72 | 2 | { |
73 | 3 | "id": "aria-valid-attr-value", |
74 | 4 | "impact": "critical", |
|
107 | 37 | ], |
108 | 38 | "failureSummary": "Fix all of the following:\n Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: aria-controls=\"mastodon-modal\"" |
109 | 39 | }, |
110 | | - { |
111 | | - "any": [], |
112 | | - "all": [ |
113 | | - { |
114 | | - "id": "aria-valid-attr-value", |
115 | | - "data": { |
116 | | - "messageKey": "noIdShadow", |
117 | | - "needsReview": "aria-labelledby=\"article-share-title\"" |
118 | | - }, |
119 | | - "relatedNodes": [], |
120 | | - "impact": "critical", |
121 | | - "message": "ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: aria-labelledby=\"article-share-title\"" |
122 | | - } |
123 | | - ], |
124 | | - "none": [], |
125 | | - "impact": "critical", |
126 | | - "html": "<section aria-labelledby=\"article-share-title\">", |
127 | | - "target": [ |
128 | | - "section[aria-labelledby=\"article-share-title\"]" |
129 | | - ], |
130 | | - "failureSummary": "Fix all of the following:\n ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: aria-labelledby=\"article-share-title\"" |
131 | | - }, |
132 | 40 | { |
133 | 41 | "any": [], |
134 | 42 | "all": [ |
|
0 commit comments