Skip to content

Commit 7b89d1a

Browse files
authored
fix(ally): reducing homepage accessibility issues by 64% (#1287)
1 parent ccd51e2 commit 7b89d1a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/pages/index.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,19 +152,22 @@ export default class Index extends React.Component {
152152
image: `${baseUrl}img/wrench-128x128.png`,
153153
imageAlign: 'top',
154154
title: 'Write Maintainable Tests',
155+
imageAlt: '',
155156
},
156157
{
157158
content: 'Interact with your app the same way as your users',
158159
image: `${baseUrl}img/check-128x128.png`,
159160
imageAlign: 'top',
160161
title: 'Develop with Confidence',
162+
imageAlt: '',
161163
},
162164
{
163165
content:
164166
'Built-in selectors find elements the way users do to help you write inclusive code',
165167
image: `${baseUrl}img/tada-128x128.png`,
166168
imageAlign: 'top',
167169
title: 'Accessible by Default',
170+
imageAlt: '',
168171
},
169172
]}
170173
</Block>
@@ -177,61 +180,73 @@ export default class Index extends React.Component {
177180
image: `${baseUrl}img/react-128x128.png`,
178181
imageAlign: 'top',
179182
title: '[React](./docs/react-testing-library/intro)',
183+
imageAlt: 'React logo',
180184
},
181185
{
182186
image: `${baseUrl}img/cypress-128x128.png`,
183187
imageAlign: 'top',
184188
title: '[Cypress](./docs/cypress-testing-library/intro)',
189+
imageAlt: 'Cypress logo',
185190
},
186191
{
187192
image: `${baseUrl}img/testcafe-128x128.jpg`,
188193
imageAlign: 'top',
189194
title: `[Testcafe](./docs/testcafe-testing-library/intro)`,
195+
imageAlt: 'Testcafe logo',
190196
},
191197
{
192198
image: `${baseUrl}img/svelte-logo.png`,
193199
imageAlign: 'top',
194200
title: '[Svelte](./docs/svelte-testing-library/intro)',
201+
imageAlt: 'Svelte logo',
195202
},
196203
{
197204
image: `${baseUrl}img/vue-400x400.png`,
198205
imageAlign: 'top',
199206
title: '[Vue](./docs/vue-testing-library/intro)',
207+
imageAlt: 'Vue logo',
200208
},
201209
{
202210
image: `${baseUrl}img/angular-250x250.png`,
203211
imageAlign: 'top',
204212
title: '[Angular](./docs/angular-testing-library/intro)',
213+
imageAlt: 'Angular logo',
205214
},
206215
{
207216
image: `${baseUrl}img/reason-200x200.png`,
208217
imageAlign: 'top',
209218
title: '[ReasonReact](./docs/bs-react-testing-library/intro)',
219+
imageAlt: 'ReasonReact logo',
210220
},
211221
{
212222
image: `${baseUrl}img/puppeteer-275x275.png`,
213223
imageAlign: 'top',
214224
title: '[Puppeteer](./docs/pptr-testing-library/intro)',
225+
imageAlt: 'Puppeteer logo',
215226
},
216227
{
217228
image: `${baseUrl}img/react-native-128x128.png`,
218229
imageAlign: 'top',
219230
title: '[React Native](./docs/react-native-testing-library/intro)',
231+
imageAlt: 'React Native logo',
220232
},
221233
{
222234
image: `${baseUrl}img/preact-128x128.png`,
223235
imageAlign: 'top',
224236
title: '[Preact](./docs/preact-testing-library/intro)',
237+
imageAlt: 'Preact logo',
225238
},
226239
{
227240
image: `${baseUrl}img/nightwatch-128x128.png`,
228241
imageAlign: 'top',
229242
title: '[Nightwatch](./docs/nightwatch-testing-library/intro)',
243+
imageAlt: 'Nightwatch logo',
230244
},
231245
{
232246
image: `${baseUrl}img/construction-128x128.png`,
233247
imageAlign: 'top',
234248
title: '[And more...](./docs/ecosystem-user-event)',
249+
imageAlt: '',
235250
},
236251
]}
237252
</Block>

0 commit comments

Comments
 (0)