Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 2d44fc1

Browse files
committed
Add alt texts to feature icons
1 parent eaa3c20 commit 2d44fc1

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

src/data/features.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
"title": "Cloud Ready",
44
"description": "Ready to be deployed on a Cloud Server",
55
"image": "/features/cloud.svg",
6-
"tag": "provision"
6+
"altText": "cloud icon"
77
},
88
{
99
"title": "Open Source",
1010
"description": "We are an Open Source project and happy about your contribution",
1111
"image": "/features/Open Source.svg",
12-
"tag": "provision"
12+
"altText": "open source icon"
1313
},
1414
{
1515
"title": "Scanner out of the box",
1616
"description": "We integrate Open Source Scanner ready to use",
1717
"image": "/features/scan.svg",
18-
"tag": "provision"
18+
"altText": "scanner icon"
1919
},
2020
{
2121
"title": "Scans behind firewalls",
2222
"description": "Our Scans can dig deeply into your Network",
2323
"image": "/features/firewall.svg",
24-
"tag": "provision"
24+
"altText": "firewall icon"
2525
}
2626
]

src/pages/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ const Home = () => {
4343
<div className="feature hoverable">
4444
{feature.image && (
4545
<div className="feature-image">
46-
<img src={withPrefix(feature.image)} />
46+
<img
47+
src={withPrefix(feature.image)}
48+
alt={feature.altText}
49+
/>
4750
</div>
4851
)}
4952
<h2 className="feature-title">{feature.title}</h2>

0 commit comments

Comments
 (0)