Skip to content

Commit

Permalink
remove icon img alt text
Browse files Browse the repository at this point in the history
  • Loading branch information
krvpb024 authored and fguillot committed Feb 8, 2024
1 parent 8663c7d commit facf17d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 18 deletions.
4 changes: 1 addition & 3 deletions internal/template/templates/views/bookmark_entries.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ <h1 id="page-header-title" dir="auto">
<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>
Expand Down
4 changes: 1 addition & 3 deletions internal/template/templates/views/category_entries.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ <h2 id="entry-title-{{ .ID }}" class="item-title">
{{ 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>
Expand Down
4 changes: 1 addition & 3 deletions internal/template/templates/views/feed_entries.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ <h2 id="entry-title-{{ .ID }}" class="item-title">
{{ 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>
Expand Down
4 changes: 1 addition & 3 deletions internal/template/templates/views/history_entries.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ <h1 id="page-header-title">
<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>
Expand Down
4 changes: 1 addition & 3 deletions internal/template/templates/views/shared_entries.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ <h1 id="page-header-title">
<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>
Expand Down
4 changes: 1 addition & 3 deletions internal/template/templates/views/unread_entries.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ <h1 id="page-header-title">
<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>
Expand Down

0 comments on commit facf17d

Please sign in to comment.