Skip to content

Commit 7d8998c

Browse files
dario-piotrowiczatscott
authored andcommitted
docs: empty alt of aio home decorative images (#45740)
in the aio home page the sections' decorative images provide an alt texts, which shouldn't actually be present (see: https://www.w3.org/WAI/tutorials/images/decorative/), empty such alt text for a better user experience PR Close #45740
1 parent a895da6 commit 7d8998c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

aio/content/marketing/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h1 class="hero-headline no-title no-toc no-anchor" aria-label="Angular - The mo
3131
<div layout="row" layout-xs="column" class="home-row homepage-container">
3232
<div class="promo-img-container promo-1">
3333
<div>
34-
<img height="222" width="340" src="generated/images/marketing/home/responsive-framework.svg" alt="responsive framework" loading="lazy">
34+
<img height="222" width="340" src="generated/images/marketing/home/responsive-framework.svg" alt="" loading="lazy">
3535
</div>
3636
</div>
3737

@@ -57,7 +57,7 @@ <h2 id="promo-2-title" class="text-headline no-anchor">Speed & Performance</h2>
5757

5858
<div class="promo-img-container promo-2">
5959
<div>
60-
<img height="222" width="323" src="generated/images/marketing/home/speed-performance.svg" alt="speed and performance" loading="lazy">
60+
<img height="222" width="323" src="generated/images/marketing/home/speed-performance.svg" alt="" loading="lazy">
6161
</div>
6262
</div>
6363
</div>
@@ -66,7 +66,7 @@ <h2 id="promo-2-title" class="text-headline no-anchor">Speed & Performance</h2>
6666
<!-- Group 3 -->
6767
<div layout="row" layout-xs="column" class="home-row">
6868
<div class="promo-img-container promo-3">
69-
<div><img src="generated/images/marketing/home/joyful-development.svg" alt="IDE example" loading="lazy"></div>
69+
<div><img src="generated/images/marketing/home/joyful-development.svg" alt="" loading="lazy"></div>
7070
</div>
7171

7272
<div class="text-container">
@@ -91,15 +91,15 @@ <h2 id="promo-4-title" class="text-headline no-anchor">Loved by Millions</h2>
9191

9292
<div class="promo-img-container promo-4">
9393
<div>
94-
<img src="generated/images/marketing/home/loved-by-millions.svg" alt="angular on the map" width="455" height="228" loading="lazy">
94+
<img src="generated/images/marketing/home/loved-by-millions.svg" alt="" width="455" height="228" loading="lazy">
9595
</div>
9696
</div>
9797
</div>
9898

9999
<!-- CTA CARDS -->
100100
<div layout="row" layout-xs="column" class="home-row">
101101
<a href="start" class="card">
102-
<img src="generated/images/marketing/home/code-icon.svg" alt="Get Started with Angular" width="70" height="70" loading="lazy">
102+
<img src="generated/images/marketing/home/code-icon.svg" alt="" width="70" height="70" loading="lazy">
103103
<div class="card-text-container">
104104
<div class="text-headline">Try it now</div>
105105
<p>Explore Angular's capabilities with a ready-made sample app. No setup required.</p>

0 commit comments

Comments
 (0)