From: Luce Carević Date: Sat, 2 Mar 2019 12:32:36 +0000 (+0100) Subject: fix empty links and hide for screenreaders X-Git-Tag: v0.11.0~26^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=de07aad18fb35dcef1e222d1d453d8c4dd6f355d;p=github%2Fshaarli%2FShaarli.git fix empty links and hide for screenreaders --- 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 @@ {'tagged'|t} {loop="$exploded_tags"} - {$value} + {$value} {/loop} {/if} @@ -195,18 +195,18 @@ - + - - + - + title="{$strToggleSticky}" aria-label="{$strToggleSticky}" class="pin-link {if="$value.sticky"}pinned-link{/if} pure-u-0 pure-u-lg-visible"> + @@ -248,10 +248,10 @@ {ignore}do not add space or line break between these div - Firefox issue{/ignore} class="linklist-item-infos-url pure-u-lg-5-12 pure-u-1"> - {$value.url} + {$value.url}
@@ -264,12 +264,12 @@ {/if} {if="$is_logged_in"} · - - + · - + {/if}
diff --git a/tpl/default/linklist.paging.html b/tpl/default/linklist.paging.html index fe665a84..4e50495a 100644 --- a/tpl/default/linklist.paging.html +++ b/tpl/default/linklist.paging.html @@ -6,21 +6,21 @@ {'Filters'|t} {if="$is_logged_in"} - - + + > {/if} - - + - - + > + + {loop="$action_plugin"} {$value.attr.class=isset($value.attr.class) ? $value.attr.class : ''} @@ -59,8 +59,8 @@
- - + + diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index 4f6dd4d8..5f1e4d66 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html @@ -20,7 +20,7 @@ {if="$is_logged_in || $openshaarli"}
  • - {'Shaare'|t} + {'Shaare'|t}
  • @@ -67,27 +67,27 @@
  • - - + +
  • {if="!$is_logged_in"}
  • - + id="login-button" aria-label="{'Login'|t}" title="{'Login'|t}"> +
  • {else}
  • - - + +
  • {/if}