From de07aad18fb35dcef1e222d1d453d8c4dd6f355d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luce=20Carevi=C4=87?= Date: Sat, 2 Mar 2019 13:32:36 +0100 Subject: [PATCH] fix empty links and hide for screenreaders --- tpl/default/linklist.html | 22 +++++++++++----------- tpl/default/linklist.paging.html | 24 ++++++++++++------------ tpl/default/page.header.html | 18 +++++++++--------- 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index d7005c2..1cf0078 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 fe665a8..4e50495 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 4f6dd4d..5f1e4d6 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}