-
Notifications
You must be signed in to change notification settings - Fork 28
/
a11y-errors.html
155 lines (140 loc) · 6.9 KB
/
a11y-errors.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Accessibility Report For "http://localhost:3000/publish" (Fri Jul 31 2020 15:46:29 GMT-0400 (Eastern Daylight Time))</title>
<style>
html, body {
margin: 0;
padding: 0;
background-color: #fff;
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 22px;
color: #333;
}
li {
margin-bottom: 15px;
}
h1, h2, p, pre, ul {
margin-top: 0;
margin-bottom: 0;
}
h1 {
margin-bottom: 10px;
font-size: 24px;
line-height: 24px;
}
h2 {
font-size: 16px;
}
pre {
white-space: pre-wrap;
overflow: auto;
}
.page {
max-width: 800px;
margin: 0 auto;
padding: 25px;
}
.counts {
margin-top: 30px;
font-size: 20px;
}
.count {
display: inline-block;
padding: 5px;
border-radius: 5px;
border: 1px solid #eee;
}
.clean-list {
margin-left: 0;
padding-left: 0;
list-style: none;
}
.results-list {
margin-top: 30px;
}
.result {
padding: 10px;
border-radius: 5px;
border: 1px solid #eee;
}
.error {
background-color: #fdd;
border-color: #ff9696;
}
.warning {
background-color: #ffd;
border-color: #e7c12b;
}
.notice {
background-color: #eef4ff;
border-color: #b6d0ff;
}
</style>
</head>
<body>
<div class="page">
<h1>Accessibility Report For "http://localhost:3000/publish"</h1>
<p>Generated at: Fri Jul 31 2020 15:46:29 GMT-0400 (Eastern Daylight Time)</p>
<p class="counts">
<span class="count error">10 errors</span>
<span class="count warning">0 warnings</span>
<span class="count notice">0 notices</span>
</p>
<ul class="clean-list results-list">
<li class="result error">
<h2>Error: This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 7:1, but text in this element has a contrast ratio of 2.62:1. Recommendation: change text colour to #545963.</h2>
<p>WCAG2AAA.Principle1.Guideline1_4.1_4_6.G17.Fail</p>
<pre><a class="navigation_navMenuItem__eAjx9" id="contact-trace" href="/trace">Contact Trace</a> (select with "#contact-trace")</pre>
</li>
<li class="result error">
<h2>Error: This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 7:1, but text in this element has a contrast ratio of 2.62:1. Recommendation: change text colour to #545963.</h2>
<p>WCAG2AAA.Principle1.Guideline1_4.1_4_6.G17.Fail</p>
<pre><a class="navigation_navMenuItem__eAjx9" id="settings" href="/settings/">Settings</a> (select with "#settings")</pre>
</li>
<li class="result error">
<h2>Error: The heading structure is not logically nested. This h4 element appears to be the primary document heading, so should be an h1 element.</h2>
<p>WCAG2AAA.Principle1.Guideline1_3.1_3_1_AAA.G141</p>
<pre><h4>Publish Data</h4> (select with "#root > div > div:nth-child(2) > aside > header > h4")</pre>
</li>
<li class="result error">
<h2>Error: The heading structure is not logically nested. This h4 element should be an h1 to be properly nested.</h2>
<p>WCAG2AAA.Principle1.Guideline1_3.1_3_1_AAA.G141</p>
<pre><h4>Publish Data</h4> (select with "#root > div > div:nth-child(2) > aside > header > h4")</pre>
</li>
<li class="result error">
<h2>Error: This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 7:1, but text in this element has a contrast ratio of 5.9:1. Recommendation: change background to #2a3fe8.</h2>
<p>WCAG2AAA.Principle1.Guideline1_4.1_4_6.G17.Fail</p>
<pre><button id="load-data-for-publishing" class="styles_button__1QQUp undefined" type="button">Load Data For Publishing</button> (select with "#load-data-for-publishing")</pre>
</li>
<li class="result error">
<h2>Error: This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 7:1, but text in this element has a contrast ratio of NaN:1.</h2>
<p>WCAG2AAA.Principle1.Guideline1_4.1_4_6.G17.Fail</p>
<pre><a href="https://www.mapbox.com/about/maps/" target="_blank">© Mapbox</a> (select with "#root > div > div:nth-child(2) > div > div > div > div:nth-child(1) > div:nth-child(3) > div:nth-child(4) > div > div > a:nth-child(1)")</pre>
</li>
<li class="result error">
<h2>Error: This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 7:1, but text in this element has a contrast ratio of NaN:1.</h2>
<p>WCAG2AAA.Principle1.Guideline1_4.1_4_6.G17.Fail</p>
<pre><a href="http://www.openstreetmap.org/about/" target="_blank">© OpenStreetMap</a> (select with "#root > div > div:nth-child(2) > div > div > div > div:nth-child(1) > div:nth-child(3) > div:nth-child(4) > div > div > a:nth-child(2)")</pre>
</li>
<li class="result error">
<h2>Error: This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 7:1, but text in this element has a contrast ratio of NaN:1.</h2>
<p>WCAG2AAA.Principle1.Guideline1_4.1_4_6.G17.Fail</p>
<pre><a class="mapbox-improve-map" href="https://apps.mapbox.com/feedback/?owner=utzel&amp;id=cjvip6voh0j3b1ct61z64ytxw&amp;access_token=pk.eyJ1IjoieW9uYXRhbm1rIiwiYSI6ImNrYjE3NnRrODBocHcyenM1NmdrbnphY2kifQ.fvulI-mZbHuGxqHw1puobw" target="_blank" rel="noo... (select with "#root > div > div:nth-child(2) > div > div > div > div:nth-child(1) > div:nth-child(3) > div:nth-child(4) > div > div > a:nth-child(3)")</pre>
</li>
<li class="result error">
<h2>Error: This button element does not have a name available to an accessibility API. Valid names are: title undefined, element content, aria-label undefined, aria-labelledby undefined.</h2>
<p>WCAG2AAA.Principle4.Guideline4_1.4_1_2.H91.Button.Name</p>
<pre><button type="button" class="styles_closeButton__112_d" style="opacity: 1;"><svg aria-hidden="true" focusab...</button> (select with "#modal-root > div > button")</pre>
</li>
<li class="result error">
<h2>Error: This button element does not have a name available to an accessibility API. Valid names are: title undefined, element content, aria-label undefined, aria-labelledby undefined.</h2>
<p>WCAG2AAA.Principle4.Guideline4_1.4_1_2.H91.Button.Name</p>
<pre><button><svg aria-hidden="true" focusab...</button> (select with "#modal > div > table:nth-child(1) > thead > tr > th:nth-child(3) > div > button")</pre>
</li>
</ul>
</div>
</body>
</html>