diff options
-rw-r--r-- | tpl/default/import.html | 2 | ||||
-rw-r--r-- | tpl/default/install.html | 2 | ||||
-rw-r--r-- | tpl/default/linklist.html | 24 | ||||
-rw-r--r-- | tpl/default/page.header.html | 4 | ||||
-rw-r--r-- | tpl/default/picwall.html | 4 | ||||
-rw-r--r-- | tpl/default/tag.cloud.html | 4 | ||||
-rw-r--r-- | tpl/default/tag.list.html | 12 |
7 files changed, 25 insertions, 27 deletions
diff --git a/tpl/default/import.html b/tpl/default/import.html index 20f854d1..c41afcdb 100644 --- a/tpl/default/import.html +++ b/tpl/default/import.html | |||
@@ -69,7 +69,7 @@ | |||
69 | </div> | 69 | </div> |
70 | <div class="pure-u-lg-2-3 pure-u-1"> | 70 | <div class="pure-u-lg-2-3 pure-u-1"> |
71 | <div class="form-input"> | 71 | <div class="form-input"> |
72 | <input type="text" name="default_tags" id="default_tags" placeholder="{'Tag'|t}"> | 72 | <input type="text" name="default_tags" id="default_tags" aria-label="{'Tag'|t}" placeholder="{'Tag'|t}"> |
73 | </div> | 73 | </div> |
74 | </div> | 74 | </div> |
75 | </div> | 75 | </div> |
diff --git a/tpl/default/install.html b/tpl/default/install.html index f0e7040e..c6f501f0 100644 --- a/tpl/default/install.html +++ b/tpl/default/install.html | |||
@@ -17,7 +17,7 @@ | |||
17 | <h2 class="window-title">{'Install Shaarli'|t}</h2> | 17 | <h2 class="window-title">{'Install Shaarli'|t}</h2> |
18 | 18 | ||
19 | <div class="center"> | 19 | <div class="center"> |
20 | {'It looks like it\'s the first time you run Shaarli. Please configure it.'|t} | 20 | <p>{'It looks like it\'s the first time you run Shaarli. Please configure it.'|t}</p> |
21 | </div> | 21 | </div> |
22 | 22 | ||
23 | <div class="pure-g"> | 23 | <div class="pure-g"> |
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index a025d53c..b44d0783 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,12 +136,10 @@ | |||
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} |
141 | <img data-src="{$value.thumbnail}#" class="b-lazy" | 140 | <img data-src="{$value.thumbnail}#" class="b-lazy" |
142 | src="" | 141 | src="" |
143 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> | 142 | alt="" width="{$thumbnails_width}" height="{$thumbnails_height}" /> |
144 | </a> | ||
145 | </div> | 143 | </div> |
146 | </div> | 144 | </div> |
147 | {/if} | 145 | {/if} |
@@ -158,9 +156,9 @@ | |||
158 | <h2> | 156 | <h2> |
159 | <a href="{$value.real_url}"> | 157 | <a href="{$value.real_url}"> |
160 | {if="strpos($value.url, $value.shorturl) === false"} | 158 | {if="strpos($value.url, $value.shorturl) === false"} |
161 | <i class="fa fa-external-link"></i> | 159 | <i class="fa fa-external-link" aria-hidden="true"></i> |
162 | {else} | 160 | {else} |
163 | <i class="fa fa-sticky-note"></i> | 161 | <i class="fa fa-sticky-note" aria-hidden="true"></i> |
164 | {/if} | 162 | {/if} |
165 | 163 | ||
166 | <span class="linklist-link">{$value.title}</span> | 164 | <span class="linklist-link">{$value.title}</span> |
@@ -177,7 +175,7 @@ | |||
177 | <div class="linklist-item-infos clear"> | 175 | <div class="linklist-item-infos clear"> |
178 | {if="$value.tags"} | 176 | {if="$value.tags"} |
179 | <div class="linklist-item-tags"> | 177 | <div class="linklist-item-tags"> |
180 | <i class="fa fa-tags"></i> | 178 | <i class="fa fa-tags" aria-hidden="true"></i> |
181 | {$tag_counter=count($value.taglist)} | 179 | {$tag_counter=count($value.taglist)} |
182 | {loop="value.taglist"} | 180 | {loop="value.taglist"} |
183 | <span class="label label-tag" title="{$strAddTag}"> | 181 | <span class="label label-tag" title="{$strAddTag}"> |
@@ -216,7 +214,7 @@ | |||
216 | <div class="linklist-item-infos-controls-group pure-u-0 pure-u-lg-visible"> | 214 | <div class="linklist-item-infos-controls-group pure-u-0 pure-u-lg-visible"> |
217 | <span class="linklist-item-infos-controls-item ctrl-pin"> | 215 | <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"> | 216 | <span title="{$strSticky}" class="pin-link pinned-link pure-u-0 pure-u-lg-visible"> |
219 | <i class="fa fa-thumb-tack"></i> | 217 | <i class="fa fa-thumb-tack" aria-hidden="true"></i> |
220 | </span> | 218 | </span> |
221 | </span> | 219 | </span> |
222 | </div> | 220 | </div> |
@@ -226,7 +224,7 @@ | |||
226 | {if="!$hide_timestamps || $is_logged_in"} | 224 | {if="!$hide_timestamps || $is_logged_in"} |
227 | {$updated=$value.updated_timestamp ? $strEdited. format_date($value.updated) : $strPermalink} | 225 | {$updated=$value.updated_timestamp ? $strEdited. format_date($value.updated) : $strPermalink} |
228 | <span class="linkdate" title="{$updated}"> | 226 | <span class="linkdate" title="{$updated}"> |
229 | <i class="fa fa-clock-o"></i> | 227 | <i class="fa fa-clock-o" aria-hidden="true"></i> |
230 | {$value.created|format_date} | 228 | {$value.created|format_date} |
231 | {if="$value.updated_timestamp"}*{/if} | 229 | {if="$value.updated_timestamp"}*{/if} |
232 | · | 230 | · |
@@ -248,7 +246,7 @@ | |||
248 | </div><div | 246 | </div><div |
249 | {ignore}do not add space or line break between these div - Firefox issue{/ignore} | 247 | {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"> | 248 | class="linklist-item-infos-url pure-u-lg-5-12 pure-u-1"> |
251 | <a href="{$value.real_url}" title="{$value.title}"> | 249 | <a href="{$value.real_url}" aria-label="{$value.title}" title="{$value.title}"> |
252 | <i class="fa fa-link" aria-hidden="true"></i> {$value.url} | 250 | <i class="fa fa-link" aria-hidden="true"></i> {$value.url} |
253 | </a> | 251 | </a> |
254 | <div class="linklist-item-buttons pure-u-0 pure-u-lg-visible"> | 252 | <div class="linklist-item-buttons pure-u-0 pure-u-lg-visible"> |
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index 93825fb5..4f063dc3 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html | |||
@@ -138,8 +138,8 @@ | |||
138 | {if="!$is_logged_in"} | 138 | {if="!$is_logged_in"} |
139 | <form method="post" name="loginform"> | 139 | <form method="post" name="loginform"> |
140 | <div class="subheader-form header-login-form" id="header-login-form"> | 140 | <div class="subheader-form header-login-form" id="header-login-form"> |
141 | <input type="text" name="login" placeholder="{'Username'|t}" > | 141 | <input type="text" name="login" aria-label="{'Username'|t}" placeholder="{'Username'|t}" > |
142 | <input type="password" name="password" placeholder="{'Password'|t}" > | 142 | <input type="password" name="password" aria-label="{'Password'|t}" placeholder="{'Password'|t}" > |
143 | <div class="remember-me"> | 143 | <div class="remember-me"> |
144 | <input type="checkbox" name="longlastingsession" id="longlastingsession" checked> | 144 | <input type="checkbox" name="longlastingsession" id="longlastingsession" checked> |
145 | <label for="longlastingsession">{'Remember me'|t}</label> | 145 | <label for="longlastingsession">{'Remember me'|t}</label> |
diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index dd8c17fc..73359949 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html | |||
@@ -32,9 +32,9 @@ | |||
32 | {/loop} | 32 | {/loop} |
33 | </div> | 33 | </div> |
34 | 34 | ||
35 | <div id="picwall-container" class="picwall-container"> | 35 | <div id="picwall-container" class="picwall-container" role="list"> |
36 | {loop="$linksToDisplay"} | 36 | {loop="$linksToDisplay"} |
37 | <div class="picwall-pictureframe"> | 37 | <div class="picwall-pictureframe" role="listitem"> |
38 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} | 38 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} |
39 | <img data-src="{$value.thumbnail}#" class="b-lazy" | 39 | <img data-src="{$value.thumbnail}#" class="b-lazy" |
40 | src="" | 40 | src="" |
diff --git a/tpl/default/tag.cloud.html b/tpl/default/tag.cloud.html index bedf3f8c..b9c0b162 100644 --- a/tpl/default/tag.cloud.html +++ b/tpl/default/tag.cloud.html | |||
@@ -26,14 +26,14 @@ | |||
26 | <div class="pure-u-1 pure-u-lg-1-2"> | 26 | <div class="pure-u-1 pure-u-lg-1-2"> |
27 | <form method="GET"> | 27 | <form method="GET"> |
28 | <input type="hidden" name="do" value="tagcloud"> | 28 | <input type="hidden" name="do" value="tagcloud"> |
29 | <input type="text" name="searchtags" placeholder="{'Filter by tag'|t}" | 29 | <input type="text" name="searchtags" aria-label="{'Filter by tag'|t}" placeholder="{'Filter by tag'|t}" |
30 | {if="!empty($search_tags)"} | 30 | {if="!empty($search_tags)"} |
31 | value="{$search_tags}" | 31 | value="{$search_tags}" |
32 | {/if} | 32 | {/if} |
33 | autocomplete="off" data-multiple data-autofirst data-minChars="1" | 33 | autocomplete="off" data-multiple data-autofirst data-minChars="1" |
34 | data-list="{loop="$tags"}{$key}, {/loop}" | 34 | data-list="{loop="$tags"}{$key}, {/loop}" |
35 | > | 35 | > |
36 | <button type="submit" class="search-button"><i class="fa fa-search"></i></button> | 36 | <button type="submit" class="search-button" aria-label="{'Search'|t}"><i class="fa fa-search" aria-hidden="true"></i></button> |
37 | </form> | 37 | </form> |
38 | </div> | 38 | </div> |
39 | <div class="pure-u-lg-1-4"></div> | 39 | <div class="pure-u-lg-1-4"></div> |
diff --git a/tpl/default/tag.list.html b/tpl/default/tag.list.html index 41eab246..d5777465 100644 --- a/tpl/default/tag.list.html +++ b/tpl/default/tag.list.html | |||
@@ -26,14 +26,14 @@ | |||
26 | <div class="pure-u-1 pure-u-lg-1-2"> | 26 | <div class="pure-u-1 pure-u-lg-1-2"> |
27 | <form method="GET"> | 27 | <form method="GET"> |
28 | <input type="hidden" name="do" value="taglist"> | 28 | <input type="hidden" name="do" value="taglist"> |
29 | <input type="text" name="searchtags" placeholder="{'Filter by tag'|t}" | 29 | <input type="text" name="searchtags" aria-label="{'Filter by tag'|t}" placeholder="{'Filter by tag'|t}" |
30 | {if="!empty($search_tags)"} | 30 | {if="!empty($search_tags)"} |
31 | value="{$search_tags}" | 31 | value="{$search_tags}" |
32 | {/if} | 32 | {/if} |
33 | autocomplete="off" data-multiple data-autofirst data-minChars="1" | 33 | autocomplete="off" data-multiple data-autofirst data-minChars="1" |
34 | data-list="{loop="$tags"}{$key}, {/loop}" | 34 | data-list="{loop="$tags"}{$key}, {/loop}" |
35 | > | 35 | > |
36 | <button type="submit" class="search-button"><i class="fa fa-search"></i></button> | 36 | <button type="submit" class="search-button" aria-label="{'Search'|t}"><i class="fa fa-search" aria-hidden="true"></i></button> |
37 | </form> | 37 | </form> |
38 | </div> | 38 | </div> |
39 | <div class="pure-u-lg-1-4"></div> | 39 | <div class="pure-u-lg-1-4"></div> |
@@ -50,9 +50,9 @@ | |||
50 | <div class="tag-list-item pure-g" data-tag="{$key}"> | 50 | <div class="tag-list-item pure-g" data-tag="{$key}"> |
51 | <div class="pure-u-1"> | 51 | <div class="pure-u-1"> |
52 | {if="$is_logged_in===true"} | 52 | {if="$is_logged_in===true"} |
53 | <a href="#" class="delete-tag"><i class="fa fa-trash"></i></a> | 53 | <a href="#" class="delete-tag" aria-label="{'Delete'|t}"><i class="fa fa-trash" aria-hidden="true"></i></a> |
54 | <a href="?do=changetag&fromtag={$key|urlencode}" class="rename-tag"> | 54 | <a href="?do=changetag&fromtag={$key|urlencode}" class="rename-tag" aria-label="{'Rename tag'|t}"> |
55 | <i class="fa fa-pencil-square-o {$key}"></i> | 55 | <i class="fa fa-pencil-square-o {$key}" aria-hidden="true"></i> |
56 | </a> | 56 | </a> |
57 | {/if} | 57 | {/if} |
58 | 58 | ||
@@ -66,7 +66,7 @@ | |||
66 | {if="$is_logged_in===true"} | 66 | {if="$is_logged_in===true"} |
67 | <div class="rename-tag-form pure-u-1"> | 67 | <div class="rename-tag-form pure-u-1"> |
68 | <input type="text" name="{$key}" value="{$key}" class="rename-tag-input" /> | 68 | <input type="text" name="{$key}" value="{$key}" class="rename-tag-input" /> |
69 | <a href="#" class="validate-rename-tag"><i class="fa fa-check"></i></a> | 69 | <a href="#" class="validate-rename-tag"><i class="fa fa-check" aria-hidden="true"></i></a> |
70 | </div> | 70 | </div> |
71 | {/if} | 71 | {/if} |
72 | </div> | 72 | </div> |