aboutsummaryrefslogtreecommitdiff
path: root/internal/template/templates/common/feed_list.html
diff options
context:
space:
mode:
authorGravatar krvpb024 <krvpb024@protonmail.com> 2024-02-02 16:30:45 +0800
committerGravatar Frédéric Guillot <f@miniflux.net> 2024-02-04 10:47:30 -0800
commit8367413e84b88a96711b607181b5d1ef88c37233 (patch)
tree45935da88a1857d559236a459080299c0ba9fd99 /internal/template/templates/common/feed_list.html
parent9b6dbd422c60c1fa41865dd7b0a56dfbb038f539 (diff)
downloadv2-8367413e84b88a96711b607181b5d1ef88c37233.tar.gz
v2-8367413e84b88a96711b607181b5d1ef88c37233.tar.zst
v2-8367413e84b88a96711b607181b5d1ef88c37233.zip
change links that could perform actions to buttons
Diffstat (limited to 'internal/template/templates/common/feed_list.html')
-rw-r--r--internal/template/templates/common/feed_list.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/internal/template/templates/common/feed_list.html b/internal/template/templates/common/feed_list.html
index 4f47ce99..b4bee86f 100644
--- a/internal/template/templates/common/feed_list.html
+++ b/internal/template/templates/common/feed_list.html
@@ -55,13 +55,19 @@
</ul>
<ul class="item-meta-icons">
<li class="item-meta-icons-refresh">
- <a href="{{ route "refreshFeed" "feedID" .ID }}">{{ icon "refresh" }}<span class="icon-label">{{ t "menu.refresh_feed" }}</span></a>
+ <a href="{{ route "refreshFeed" "feedID" .ID }}"
+ role="button"
+ aria-describedby="feed-title-{{ .ID }}">{{ icon "refresh" }}<span class="icon-label">{{ t "menu.refresh_feed" }}</span></a>
</li>
<li class="item-meta-icons-edit">
- <a href="{{ route "editFeed" "feedID" .ID }}">{{ icon "edit" }}<span class="icon-label">{{ t "menu.edit_feed" }}</span></a>
+ <a href="{{ route "editFeed" "feedID" .ID }}"
+ role="button"
+ aria-describedby="feed-title-{{ .ID }}">{{ icon "edit" }}<span class="icon-label">{{ t "menu.edit_feed" }}</span></a>
</li>
<li class="item-meta-icons-remove">
<a href="#"
+ role="button"
+ aria-describedby="feed-title-{{ .ID }}"
data-confirm="true"
data-label-question="{{ t "confirm.question" }}"
data-label-yes="{{ t "confirm.yes" }}"
@@ -72,6 +78,8 @@
{{ if .UnreadCount }}
<li class="item-meta-icons-mark-as-read">
<a href="#"
+ role="button"
+ aria-describedby="feed-title-{{ .ID }}"
data-confirm="true"
data-label-question="{{ t "confirm.question" }}"
data-label-yes="{{ t "confirm.yes" }}"