diff options
author | 2024-02-07 20:32:30 +0800 | |
---|---|---|
committer | 2024-02-07 21:59:09 -0800 | |
commit | facf17db3f5f323219c6074aa754c8aedca75c6f (patch) | |
tree | 9a6fe2778239dd2e10bffcfd3fa9498deb4b9e1b | |
parent | 8663c7d031862b21b0492c92cb5a3ed7d7342457 (diff) | |
download | v2-facf17db3f5f323219c6074aa754c8aedca75c6f.tar.gz v2-facf17db3f5f323219c6074aa754c8aedca75c6f.tar.zst v2-facf17db3f5f323219c6074aa754c8aedca75c6f.zip |
remove icon img alt text
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> |