diff options
6 files changed, 6 insertions, 18 deletions
diff --git a/internal/template/templates/views/bookmark_entries.html b/internal/template/templates/views/bookmark_entries.html index 3facf96a..9ab03d83 100644 --- a/internal/template/templates/views/bookmark_entries.html +++ b/internal/template/templates/views/bookmark_entries.html @@ -28,9 +28,7 @@ <h2 id="entry-title-{{ .ID }}" class="item-title"> <a href="{{ route "starredEntry" "entryID" .ID }}"> {{ if ne .Feed.Icon.IconID 0 }} - <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt="{{ .Feed.Title }}"> - {{ else }} - <span class="sr-only">{{ .Feed.Title }}</span> + <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt=""> {{ end }} {{ .Title }} </a> diff --git a/internal/template/templates/views/category_entries.html b/internal/template/templates/views/category_entries.html index 0c46ebd4..42e56b50 100644 --- a/internal/template/templates/views/category_entries.html +++ b/internal/template/templates/views/category_entries.html @@ -81,9 +81,7 @@ {{ end }} > {{ if ne .Feed.Icon.IconID 0 }} - <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt="{{ .Feed.Title }}"> - {{ else }} - <span class="sr-only">{{ .Feed.Title }}</span> + <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt=""> {{ end }} {{ .Title }} </a> diff --git a/internal/template/templates/views/feed_entries.html b/internal/template/templates/views/feed_entries.html index 4f416eb8..469eb794 100644 --- a/internal/template/templates/views/feed_entries.html +++ b/internal/template/templates/views/feed_entries.html @@ -108,9 +108,7 @@ {{ end }} > {{ if ne .Feed.Icon.IconID 0 }} - <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt="{{ .Feed.Title }}"> - {{ else }} - <span class="sr-only">{{ .Feed.Title }}</span> + <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt=""> {{ end }} {{ .Title }} </a> diff --git a/internal/template/templates/views/history_entries.html b/internal/template/templates/views/history_entries.html index b5576a93..234d824b 100644 --- a/internal/template/templates/views/history_entries.html +++ b/internal/template/templates/views/history_entries.html @@ -47,9 +47,7 @@ <h2 id="entry-title-{{ .ID }}" class="item-title"> <a href="{{ route "readEntry" "entryID" .ID }}"> {{ if ne .Feed.Icon.IconID 0 }} - <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt="{{ .Feed.Title }}"> - {{ else }} - <span class="sr-only">{{ .Feed.Title }}</span> + <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt=""> {{ end }} {{ .Title }} </a> diff --git a/internal/template/templates/views/shared_entries.html b/internal/template/templates/views/shared_entries.html index 6f70d513..849a4174 100644 --- a/internal/template/templates/views/shared_entries.html +++ b/internal/template/templates/views/shared_entries.html @@ -44,9 +44,7 @@ <h2 id="entry-title-{{ .ID }}" class="item-title"> <a href="{{ route "readEntry" "entryID" .ID }}"> {{ if ne .Feed.Icon.IconID 0 }} - <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt="{{ .Feed.Title }}"> - {{ else }} - <span class="sr-only">{{ .Feed.Title }}</span> + <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt=""> {{ end }} {{ .Title }} </a> diff --git a/internal/template/templates/views/unread_entries.html b/internal/template/templates/views/unread_entries.html index c8de2ab3..77063723 100644 --- a/internal/template/templates/views/unread_entries.html +++ b/internal/template/templates/views/unread_entries.html @@ -55,9 +55,7 @@ <h2 id="entry-title-{{ .ID }}" class="item-title"> <a href="{{ route "unreadEntry" "entryID" .ID }}"> {{ if ne .Feed.Icon.IconID 0 }} - <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt="{{ .Feed.Title }}"> - {{ else }} - <span class="sr-only">{{ .Feed.Title }}</span> + <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt=""> {{ end }} {{ .Title }} </a> |