Skip to content

Commit fe6805a

Browse files
committed
feat(a11y): add more detailed desc to alt text of the image
1 parent f668ecb commit fe6805a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/book/book-detail/book-detail.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
mat-card-image
99
src="/assets/covers/{{ book.isbn }}.jpg"
1010
class="book-cover"
11-
alt="book cover"
11+
alt="book cover for the book {{book.title}} by {{book.author}}"
12+
tabindex="0"
1213
/>
1314
<mat-card-content>
1415
<p>

0 commit comments

Comments
 (0)