Skip to content

Commit 9bd1f57

Browse files
committed
fix: update alt tag
1 parent 93c2da3 commit 9bd1f57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

resources/views/articles/show.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
<img class="absolute w-full h-full left-0 top-0 object-cover -z-10"
2525
style="background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4))"
2626
src="{{ $article->heroImage(2000,384) }}"
27-
alt="Example image"
27+
alt="Article Hero Image"
2828
onerror="
29-
this.onerror=null;
30-
this.src='images/default-background.svg';"
29+
this.onerror=null;
30+
this.src='images/default-background.svg';"
3131
>
3232
<div class="flex items-center justify-between mb-28 text-sm lg:text-base">
3333
<a href="{{ route('articles') }}" class="flex items-center text-white hover:underline">

resources/views/components/articles/summary.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<a href="{{ route('articles.show', $article->slug()) }}">
1010
<img class="w-full h-72 mb-6 rounded-lg bg-center bg-gray-800"
1111
src="{{ $article->heroImage() }}"
12-
alt="Example image"
12+
alt="Article Hero Image"
1313
onerror="
1414
this.onerror=null;
1515
this.src='images/default-background.svg';"

0 commit comments

Comments
 (0)