Skip to content

Commit 9ab4688

Browse files
authored
fix: a11y issues (#407)
1 parent 8879df0 commit 9ab4688

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libs/blog/ad-banner/ui/src/lib/ad-image-banner/ad-image-banner.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<aside>
22
<img
33
tabindex="0"
4-
role="button"
54
class="!relative cursor-pointer"
65
[attr.aria-label]="banner().alt"
6+
[alt]="banner().alt"
77
[ngSrc]="banner().url"
88
(click)="navigateFromBanner()"
99
(keydown.enter)="navigateFromBanner()"

libs/blog/ad-banner/ui/src/lib/top-banner.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Component } from '@angular/core';
99
href="https://houseofangular.io/the-ultimate-guide-to-angular-evolution/?utm_source=www-al&utm_medium=baner&utm_campaign=angular19-evolution"
1010
>
1111
<span>Enhance Your Project with</span>
12-
<span class="rounded-[4px] bg-white px-[6px] text-[#f9506a]">
12+
<span class="rounded-[4px] bg-white px-[6px] text-[#b10620]">
1313
Angular 19
1414
</span>
1515
<span class="underline">Download a free ebook!</span>

libs/blog/home/feature-home/src/lib/home-page/welcome-message/welcome-message.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { TranslocoDirective } from '@jsverse/transloco';
99
*transloco="let t; read: 'homePage.welcomeMessage'"
1010
class="flex flex-col items-center justify-center space-y-3 py-3 text-center"
1111
>
12-
<h1 class="text-4xl font-bold">Angular.love Blog</h1>
12+
<h2 class="text-4xl font-bold">Angular.love Blog</h2>
1313
<p class="px-8">
1414
{{ t('description') }}
1515
</p>

0 commit comments

Comments
 (0)