aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.html
diff options
context:
space:
mode:
authorLuce Carević <lcarevic@access42.net>2019-03-02 13:32:36 +0100
committerLuce Carević <lcarevic@access42.net>2019-03-02 13:32:36 +0100
commitde07aad18fb35dcef1e222d1d453d8c4dd6f355d (patch)
treef40725c1ed8c1b82b13f278b834b25db5723ae4c /tpl/default/linklist.html
parentc31dd67c5de233cbdccf990a9306d9b7a01f6b3a (diff)
downloadShaarli-de07aad18fb35dcef1e222d1d453d8c4dd6f355d.tar.gz
Shaarli-de07aad18fb35dcef1e222d1d453d8c4dd6f355d.tar.zst
Shaarli-de07aad18fb35dcef1e222d1d453d8c4dd6f355d.zip
fix empty links and hide <i> for screenreaders
Diffstat (limited to 'tpl/default/linklist.html')
-rw-r--r--tpl/default/linklist.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html
index d7005c21..1cf00783 100644
--- a/tpl/default/linklist.html
+++ b/tpl/default/linklist.html
@@ -94,7 +94,7 @@
94 {'tagged'|t} 94 {'tagged'|t}
95 {loop="$exploded_tags"} 95 {loop="$exploded_tags"}
96 <span class="label label-tag" title="{'Remove tag'|t}"> 96 <span class="label label-tag" title="{'Remove tag'|t}">
97 <a href="?removetag={function="urlencode($value)"}">{$value}<span class="remove"><i class="fa fa-times"></i></span></a> 97 <a href="?removetag={function="urlencode($value)"}">{$value}<span class="remove"><i class="fa fa-times" aria-hidden="true"></i></span></a>
98 </span> 98 </span>
99 {/loop} 99 {/loop}
100 {/if} 100 {/if}
@@ -195,18 +195,18 @@
195 <input type="checkbox" class="link-checkbox" value="{$value.id}"> 195 <input type="checkbox" class="link-checkbox" value="{$value.id}">
196 </span> 196 </span>
197 <span class="linklist-item-infos-controls-item ctrl-edit"> 197 <span class="linklist-item-infos-controls-item ctrl-edit">
198 <a href="?edit_link={$value.id}" title="{$strEdit}"><i class="fa fa-pencil-square-o edit-link"></i></a> 198 <a href="?edit_link={$value.id}" aria-label="{$strEdit}" title="{$strEdit}"><i class="fa fa-pencil-square-o edit-link" aria-hidden="true"></i></a>
199 </span> 199 </span>
200 <span class="linklist-item-infos-controls-item ctrl-delete"> 200 <span class="linklist-item-infos-controls-item ctrl-delete">
201 <a href="?delete_link&amp;lf_linkdate={$value.id}&amp;token={$token}" 201 <a href="?delete_link&amp;lf_linkdate={$value.id}&amp;token={$token}" aria-label="{$strDelete}"
202 title="{$strDelete}" class="delete-link pure-u-0 pure-u-lg-visible confirm-delete"> 202 title="{$strDelete}" class="delete-link pure-u-0 pure-u-lg-visible confirm-delete">
203 <i class="fa fa-trash"></i> 203 <i class="fa fa-trash" aria-hidden="true"></i>
204 </a> 204 </a>
205 </span> 205 </span>
206 <span class="linklist-item-infos-controls-item ctrl-pin"> 206 <span class="linklist-item-infos-controls-item ctrl-pin">
207 <a href="?do=pin&amp;id={$value.id}&amp;token={$token}" 207 <a href="?do=pin&amp;id={$value.id}&amp;token={$token}"
208 title="{$strToggleSticky}" class="pin-link {if="$value.sticky"}pinned-link{/if} pure-u-0 pure-u-lg-visible"> 208 title="{$strToggleSticky}" aria-label="{$strToggleSticky}" class="pin-link {if="$value.sticky"}pinned-link{/if} pure-u-0 pure-u-lg-visible">
209 <i class="fa fa-thumb-tack"></i> 209 <i class="fa fa-thumb-tack" aria-hidden="true"></i>
210 </a> 210 </a>
211 </span> 211 </span>
212 </div> 212 </div>
@@ -248,10 +248,10 @@
248 {ignore}do not add space or line break between these div - Firefox issue{/ignore} 248 {ignore}do not add space or line break between these div - Firefox issue{/ignore}
249 class="linklist-item-infos-url pure-u-lg-5-12 pure-u-1"> 249 class="linklist-item-infos-url pure-u-lg-5-12 pure-u-1">
250 <a href="{$value.real_url}" title="{$value.title}"> 250 <a href="{$value.real_url}" title="{$value.title}">
251 <i class="fa fa-link"></i> {$value.url} 251 <i class="fa fa-link" aria-hidden="true"></i> {$value.url}
252 </a> 252 </a>
253 <div class="linklist-item-buttons pure-u-0 pure-u-lg-visible"> 253 <div class="linklist-item-buttons pure-u-0 pure-u-lg-visible">
254 <a href="#" title="{$strFold}" class="fold-button"><i class="fa fa-chevron-up"></i></a> 254 <a href="#" aria-label="{$strFold}" title="{$strFold}" class="fold-button"><i class="fa fa-chevron-up" aria-hidden="true"></i></a>
255 </div> 255 </div>
256 </div> 256 </div>
257 <div class="mobile-buttons pure-u-1 pure-u-lg-0"> 257 <div class="mobile-buttons pure-u-1 pure-u-lg-0">
@@ -264,12 +264,12 @@
264 {/if} 264 {/if}
265 {if="$is_logged_in"} 265 {if="$is_logged_in"}
266 &middot; 266 &middot;
267 <a href="?delete_link&amp;lf_linkdate={$value.id}&amp;token={$token}" 267 <a href="?delete_link&amp;lf_linkdate={$value.id}&amp;token={$token}" aria-label="{$strDelete}"
268 title="{$strDelete}" class="delete-link confirm-delete"> 268 title="{$strDelete}" class="delete-link confirm-delete">
269 <i class="fa fa-trash"></i> 269 <i class="fa fa-trash" aria-hidden="true"></i>
270 </a> 270 </a>
271 &middot; 271 &middot;
272 <a href="?edit_link={$value.id}" title="{$strEdit}"><i class="fa fa-pencil-square-o edit-link"></i></a> 272 <a href="?edit_link={$value.id}" aria-label="{$strEdit}" title="{$strEdit}"><i class="fa fa-pencil-square-o edit-link" aria-hidden="true"></i></a>
273 {/if} 273 {/if}
274 </div> 274 </div>
275 </div> 275 </div>