diff options
Diffstat (limited to 'tpl/default/linklist.html')
-rw-r--r-- | tpl/default/linklist.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index a025d53c..ffc236c7 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html | |||
@@ -19,19 +19,19 @@ | |||
19 | <div id="search-linklist" class="searchform-block search-linklist"> | 19 | <div id="search-linklist" class="searchform-block search-linklist"> |
20 | 20 | ||
21 | <form method="GET" class="pure-form searchform" name="searchform"> | 21 | <form method="GET" class="pure-form searchform" name="searchform"> |
22 | <input type="text" tabindex="1" name="searchterm" class="searchterm" placeholder="{'Search text'|t}" | 22 | <input type="text" name="searchterm" class="searchterm" aria-label="{'Search text'|t}" placeholder="{'Search text'|t}" |
23 | {if="!empty($search_term)"} | 23 | {if="!empty($search_term)"} |
24 | value="{$search_term}" | 24 | value="{$search_term}" |
25 | {/if} | 25 | {/if} |
26 | > | 26 | > |
27 | <input type="text" tabindex="2" name="searchtags" class="searchtags" placeholder="{'Filter by tag'|t}" | 27 | <input type="text" name="searchtags" class="searchtags" aria-label="{'Filter by tag'|t}" placeholder="{'Filter by tag'|t}" |
28 | {if="!empty($search_tags)"} | 28 | {if="!empty($search_tags)"} |
29 | value="{$search_tags}" | 29 | value="{$search_tags}" |
30 | {/if} | 30 | {/if} |
31 | autocomplete="off" data-multiple data-autofirst data-minChars="1" | 31 | autocomplete="off" data-multiple data-autofirst data-minChars="1" |
32 | data-list="{loop="$tags"}{$key}, {/loop}" | 32 | data-list="{loop="$tags"}{$key}, {/loop}" |
33 | > | 33 | > |
34 | <button type="submit" class="search-button"><i class="fa fa-search"></i></button> | 34 | <button type="submit" class="search-button" aria-label="{'Search'|t}"><i class="fa fa-search" aria-hidden="true"></i></button> |
35 | </form> | 35 | </form> |
36 | </div> | 36 | </div> |
37 | 37 | ||
@@ -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" aria-hidden="true"></i></span></a> | 97 | <a href="?removetag={function="urlencode($value)"}" aria-label="{'Remove tag'|t}">{$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} |
@@ -136,11 +136,11 @@ | |||
136 | {if="$thumbnails_enabled && !empty($value.thumbnail)"} | 136 | {if="$thumbnails_enabled && !empty($value.thumbnail)"} |
137 | <div class="linklist-item-thumbnail" style="width:{$thumbnails_width}px;height:{$thumbnails_height}px;"> | 137 | <div class="linklist-item-thumbnail" style="width:{$thumbnails_width}px;height:{$thumbnails_height}px;"> |
138 | <div class="thumbnail"> | 138 | <div class="thumbnail"> |
139 | <a href="{$value.real_url}"> | ||
140 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} | 139 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} |
140 | <a href="{$value.real_url}" aria-hidden="true" tabindex="-1"> | ||
141 | <img data-src="{$value.thumbnail}#" class="b-lazy" | 141 | <img data-src="{$value.thumbnail}#" class="b-lazy" |
142 | src="" | 142 | src="" |
143 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> | 143 | alt="" width="{$thumbnails_width}" height="{$thumbnails_height}" /> |
144 | </a> | 144 | </a> |
145 | </div> | 145 | </div> |
146 | </div> | 146 | </div> |
@@ -158,9 +158,9 @@ | |||
158 | <h2> | 158 | <h2> |
159 | <a href="{$value.real_url}"> | 159 | <a href="{$value.real_url}"> |
160 | {if="strpos($value.url, $value.shorturl) === false"} | 160 | {if="strpos($value.url, $value.shorturl) === false"} |
161 | <i class="fa fa-external-link"></i> | 161 | <i class="fa fa-external-link" aria-hidden="true"></i> |
162 | {else} | 162 | {else} |
163 | <i class="fa fa-sticky-note"></i> | 163 | <i class="fa fa-sticky-note" aria-hidden="true"></i> |
164 | {/if} | 164 | {/if} |
165 | 165 | ||
166 | <span class="linklist-link">{$value.title}</span> | 166 | <span class="linklist-link">{$value.title}</span> |
@@ -177,7 +177,7 @@ | |||
177 | <div class="linklist-item-infos clear"> | 177 | <div class="linklist-item-infos clear"> |
178 | {if="$value.tags"} | 178 | {if="$value.tags"} |
179 | <div class="linklist-item-tags"> | 179 | <div class="linklist-item-tags"> |
180 | <i class="fa fa-tags"></i> | 180 | <i class="fa fa-tags" aria-hidden="true"></i> |
181 | {$tag_counter=count($value.taglist)} | 181 | {$tag_counter=count($value.taglist)} |
182 | {loop="value.taglist"} | 182 | {loop="value.taglist"} |
183 | <span class="label label-tag" title="{$strAddTag}"> | 183 | <span class="label label-tag" title="{$strAddTag}"> |
@@ -216,7 +216,7 @@ | |||
216 | <div class="linklist-item-infos-controls-group pure-u-0 pure-u-lg-visible"> | 216 | <div class="linklist-item-infos-controls-group pure-u-0 pure-u-lg-visible"> |
217 | <span class="linklist-item-infos-controls-item ctrl-pin"> | 217 | <span class="linklist-item-infos-controls-item ctrl-pin"> |
218 | <span title="{$strSticky}" class="pin-link pinned-link pure-u-0 pure-u-lg-visible"> | 218 | <span title="{$strSticky}" class="pin-link pinned-link pure-u-0 pure-u-lg-visible"> |
219 | <i class="fa fa-thumb-tack"></i> | 219 | <i class="fa fa-thumb-tack" aria-hidden="true"></i> |
220 | </span> | 220 | </span> |
221 | </span> | 221 | </span> |
222 | </div> | 222 | </div> |
@@ -226,7 +226,7 @@ | |||
226 | {if="!$hide_timestamps || $is_logged_in"} | 226 | {if="!$hide_timestamps || $is_logged_in"} |
227 | {$updated=$value.updated_timestamp ? $strEdited. format_date($value.updated) : $strPermalink} | 227 | {$updated=$value.updated_timestamp ? $strEdited. format_date($value.updated) : $strPermalink} |
228 | <span class="linkdate" title="{$updated}"> | 228 | <span class="linkdate" title="{$updated}"> |
229 | <i class="fa fa-clock-o"></i> | 229 | <i class="fa fa-clock-o" aria-hidden="true"></i> |
230 | {$value.created|format_date} | 230 | {$value.created|format_date} |
231 | {if="$value.updated_timestamp"}*{/if} | 231 | {if="$value.updated_timestamp"}*{/if} |
232 | · | 232 | · |
@@ -248,7 +248,7 @@ | |||
248 | </div><div | 248 | </div><div |
249 | {ignore}do not add space or line break between these div - Firefox issue{/ignore} | 249 | {ignore}do not add space or line break between these div - Firefox issue{/ignore} |
250 | class="linklist-item-infos-url pure-u-lg-5-12 pure-u-1"> | 250 | class="linklist-item-infos-url pure-u-lg-5-12 pure-u-1"> |
251 | <a href="{$value.real_url}" title="{$value.title}"> | 251 | <a href="{$value.real_url}" aria-label="{$value.title}" title="{$value.title}"> |
252 | <i class="fa fa-link" aria-hidden="true"></i> {$value.url} | 252 | <i class="fa fa-link" aria-hidden="true"></i> {$value.url} |
253 | </a> | 253 | </a> |
254 | <div class="linklist-item-buttons pure-u-0 pure-u-lg-visible"> | 254 | <div class="linklist-item-buttons pure-u-0 pure-u-lg-visible"> |