Skip to content

Commit 62c21ec

Browse files
committed
improve accessibility
1 parent a7eeb24 commit 62c21ec

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

css/style.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ header {
6767

6868
hero {
6969
grid-area: hero;
70-
7170
background-image: url("https://github.com/CodeYourFuture/HTML-CSS-Module-Project/blob/master/img/first-background.jpg?raw=true");
7271
background-repeat: no-repeat;
7372
text-align: center;

index.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<img
2222
class="logo_header"
2323
src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/karma-logo.svg"
24-
alt="karma"
24+
alt="karma logo"
2525
/>
2626
<nav>
2727
<ul class="navigation_list">
@@ -66,23 +66,23 @@ <h2 class="hero_title">Every one needs a little Karma</h2>
6666
<img
6767
class="img_section"
6868
src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/icon-devices.svg"
69-
alt=""
69+
alt="the shape of desktop, mobile and tablet screens"
7070
/>
7171
<figcaption>Internet for all devices</figcaption>
7272
</figure>
7373
<figure>
7474
<img
7575
class="img_section"
7676
src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/icon-coffee.svg"
77-
alt=""
77+
alt="a cup of coffee"
7878
/>
7979
<figcaption>Boost your productivity</figcaption>
8080
</figure>
8181
<figure>
8282
<img
8383
class="img_section"
8484
src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/icon-refill.svg"
85-
alt=""
85+
alt="a credit card reader"
8686
/>
8787
<figcaption>Pay as you go</figcaption>
8888
</figure>
@@ -92,6 +92,7 @@ <h2 class="hero_title">Every one needs a little Karma</h2>
9292
<img
9393
class="img_extended"
9494
src="https://github.com/CodeYourFuture/HTML-CSS-Module-Project/blob/master/level-2/homepage-feature.png?raw=true"
95+
alt="a happy person using Kareme"
9596
/>
9697
<article>
9798
<p class="prg_section">
@@ -115,20 +116,23 @@ <h2 class="hero_title">Every one needs a little Karma</h2>
115116
><img
116117
class="logo_footer"
117118
src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/twitter-icon.svg"
119+
alt="twitter-icon"
118120
/></a>
119121
</li>
120122
<li class="navigation_item">
121123
<a href="#"
122124
><img
123125
class="logo_footer"
124126
src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/facebook-icon.svg"
127+
alt="facebook-icon"
125128
/></a>
126129
</li>
127130
<li class="navigation_item">
128131
<a href="#"
129132
><img
130133
class="logo_footer"
131134
src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/instagram-icon.svg"
135+
alt="instagram-icon"
132136
/></a>
133137
</li>
134138
</ul>

store.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
<img
176176
class="img_store"
177177
src="https://github.com/BoshraM/HTML-CSS-Module-Project/blob/master/level-2/store-image_by-andrew-neel-unsplash.jpg?raw=true"
178+
alt="store-img"
178179
/>
179180
<footer>
180181
<p class="footer_title">Join us on</p>
@@ -184,12 +185,14 @@
184185
<a href="#"
185186
><img
186187
class="logo_footer"
188+
alt="twitter-icon"
187189
src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/twitter-icon.svg"
188190
/></a>
189191
</li>
190192
<li class="navigation_item">
191193
<a href="#"
192194
><img
195+
alt="facebook-icon"
193196
class="logo_footer"
194197
src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/facebook-icon.svg"
195198
/></a>
@@ -198,6 +201,7 @@
198201
<a href="#"
199202
><img
200203
class="logo_footer"
204+
alt="instagram-icon"
201205
src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/instagram-icon.svg"
202206
/></a>
203207
</li>

0 commit comments

Comments
 (0)