Skip to content

Commit 73b63ef

Browse files
committed
Add alt text for onboarding images
1 parent 5f6cb61 commit 73b63ef

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/onboarding.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,17 +205,20 @@ export class OnboardingView extends LitElement {
205205
{
206206
title: "Packrat downloads websites as you browse",
207207
img: collageImg,
208-
body: "All the pages you view with the extension enabled will be saved to your computer.",
208+
body: "All the pages you view with the extension enabled will be saved locally to your computer.",
209+
alt: "Digital collage of content coalessing into a vintage computer monitor",
209210
},
210211
{
211212
title: "Send a link to share your archives",
212213
img: collageImg,
213214
body: "All data is transferred directly from your computer to their browser.\n\n We don't get access to your archives.",
215+
alt: "",
214216
},
215217
{
216218
title: "Web archives of logged-in sites can contain private data!",
217219
img: collageImg,
218220
body: "Only share web archives of logged-in sites with people you trust.",
221+
alt: "",
219222
},
220223
];
221224

@@ -261,7 +264,7 @@ export class OnboardingView extends LitElement {
261264
: html`
262265
<div class="card-content">
263266
<div class="card-content-imgcontainer">
264-
<img src="${slide.img}" alt="" />
267+
<img src="${slide.img}" alt="${slide.alt}" />
265268
</div>
266269
<div
267270
style="display: flex; justify-content: center; align-items: center; flex-direction: column;"

0 commit comments

Comments
 (0)