Skip to content

Commit d7b13f5

Browse files
authored
feat: add alt text to all template img elements (#8)
1 parent e7438bb commit d7b13f5

File tree

22 files changed

+22
-22
lines changed

22 files changed

+22
-22
lines changed

template/framework/preact-ts/src/components/PageContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function PageHeader(props) {
99

1010
return (
1111
<div>
12-
<img src={imageUrl} height="45" />
12+
<img src={imageUrl} height="45" alt="" />
1313
<h1>{props.children}</h1>
1414
<button type="button" onClick={() => setCount((count) => count + 1)}>
1515
Count: {count}

template/framework/preact-ts/src/entries/contentScript/primary/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function App() {
66

77
return (
88
<div class="logo">
9-
<img src={logoImageUrl} height="50" />
9+
<img src={logoImageUrl} height="50" alt="" />
1010
</div>
1111
);
1212
}

template/framework/preact/src/components/PageContent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function PageContent(props) {
99

1010
return (
1111
<div>
12-
<img src={imageUrl} height="45" />
12+
<img src={imageUrl} height="45" alt="" />
1313
<h1>{props.children}</h1>
1414
<button type="button" onClick={() => setCount((count) => count + 1)}>
1515
Count: {count}

template/framework/preact/src/entries/contentScript/primary/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function App() {
66

77
return (
88
<div class="logo">
9-
<img src={logoImageUrl} height="50" />
9+
<img src={logoImageUrl} height="50" alt="" />
1010
</div>
1111
);
1212
}

template/framework/react-ts/src/components/PageContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function PageContent(props) {
99

1010
return (
1111
<div>
12-
<img src={imageUrl} height="45" />
12+
<img src={imageUrl} height="45" alt="" />
1313
<h1>{props.children}</h1>
1414
<button type="button" onClick={() => setCount((count) => count + 1)}>
1515
Count: {count}

template/framework/react-ts/src/entries/contentScript/primary/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function App() {
66

77
return (
88
<div class="logo">
9-
<img src={logoImageUrl} height="50" />
9+
<img src={logoImageUrl} height="50" alt="" />
1010
</div>
1111
);
1212
}

template/framework/react/src/components/PageContent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function PageContent(props) {
99

1010
return (
1111
<div>
12-
<img src={imageUrl} height="45" />
12+
<img src={imageUrl} height="45" alt="" />
1313
<h1>{props.children}</h1>
1414
<button type="button" onClick={() => setCount((count) => count + 1)}>
1515
Count: {count}

template/framework/react/src/entries/contentScript/primary/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function App() {
66

77
return (
88
<div class="logo">
9-
<img src={logoImageUrl} height="50" />
9+
<img src={logoImageUrl} height="50" alt="" />
1010
</div>
1111
);
1212
}

template/framework/svelte-ts/src/entries/contentScript/primary/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</script>
66

77
<div class="logo">
8-
<img src={logoImageUrl} height="50" />
8+
<img src={logoImageUrl} height="50" alt="" />
99
</div>
1010

1111
<style>

template/framework/svelte-ts/src/lib/PageContent.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
</script>
1111

12-
<img src={imageUrl} height="45" />
12+
<img src={imageUrl} height="45" alt="" />
1313
<h1>
1414
<slot></slot>
1515
</h1>

0 commit comments

Comments
 (0)