fix: add title for accessibility

This commit is contained in:
Michel Roux 2024-10-25 16:18:16 +02:00
parent 676b1e0ea2
commit 17ef77ea6e
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@
:display-name="feed.data.author || feed.data.title" :display-name="feed.data.author || feed.data.title"
:is-no-user="true" :is-no-user="true"
:size="222" :size="222"
:title="feed.data.author"
:url="feed.data.imageUrl" /> :url="feed.data.imageUrl" />
<div v-if="feed.data" class="list"> <div v-if="feed.data" class="list">
<h2 class="title">{{ feed.data.title }}</h2> <h2 class="title">{{ feed.data.title }}</h2>

View File

@ -29,6 +29,7 @@
<NcAvatar <NcAvatar
:display-name="feed?.data?.author || feed?.data?.title" :display-name="feed?.data?.author || feed?.data?.title"
:is-no-user="true" :is-no-user="true"
:title="feed?.data?.author"
:url="feed?.data?.imageUrl" /> :url="feed?.data?.imageUrl" />
<StarIcon v-if="feed?.isFavorite" class="star" :size="20" /> <StarIcon v-if="feed?.isFavorite" class="star" :size="20" />
<AlertIcon v-if="failed" /> <AlertIcon v-if="failed" />