aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/page.header.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/page.header.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/page.header.html')
-rw-r--r--tpl/default/page.header.html18
1 files changed, 9 insertions, 9 deletions
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 @@
20 {if="$is_logged_in || $openshaarli"} 20 {if="$is_logged_in || $openshaarli"}
21 <li class="pure-menu-item"> 21 <li class="pure-menu-item">
22 <a href="?do=addlink" class="pure-menu-link" id="shaarli-menu-shaare"> 22 <a href="?do=addlink" class="pure-menu-link" id="shaarli-menu-shaare">
23 <i class="fa fa-plus" ></i> {'Shaare'|t} 23 <i class="fa fa-plus" aria-hidden="true"></i> {'Shaare'|t}
24 </a> 24 </a>
25 </li> 25 </li>
26 <li class="pure-menu-item" id="shaarli-menu-tools"> 26 <li class="pure-menu-item" id="shaarli-menu-tools">
@@ -67,27 +67,27 @@
67 <li class="pure-menu-item" id="shaarli-menu-desktop-search"> 67 <li class="pure-menu-item" id="shaarli-menu-desktop-search">
68 <a href="#" class="pure-menu-link subheader-opener" 68 <a href="#" class="pure-menu-link subheader-opener"
69 data-open-id="search" 69 data-open-id="search"
70 id="search-button" title="{'Search'|t}"> 70 id="search-button" aria-label="{'Search'|t}" title="{'Search'|t}">
71 <i class="fa fa-search"></i> 71 <i class="fa fa-search" aria-hidden="true"></i>
72 </a> 72 </a>
73 </li> 73 </li>
74 <li class="pure-menu-item" id="shaarli-menu-desktop-rss"> 74 <li class="pure-menu-item" id="shaarli-menu-desktop-rss">
75 <a href="?do={$feed_type}{$searchcrits}" class="pure-menu-link" title="{'RSS Feed'|t}"> 75 <a href="?do={$feed_type}{$searchcrits}" class="pure-menu-link" title="{'RSS Feed'|t}" aria-label="{'RSS Feed'|t}">
76 <i class="fa fa-rss"></i> 76 <i class="fa fa-rss" aria-hidden="true"></i>
77 </a> 77 </a>
78 </li> 78 </li>
79 {if="!$is_logged_in"} 79 {if="!$is_logged_in"}
80 <li class="pure-menu-item" id="shaarli-menu-desktop-login"> 80 <li class="pure-menu-item" id="shaarli-menu-desktop-login">
81 <a href="?do=login" class="pure-menu-link" 81 <a href="?do=login" class="pure-menu-link"
82 data-open-id="header-login-form" 82 data-open-id="header-login-form"
83 id="login-button" title="{'Login'|t}"> 83 id="login-button" aria-label="{'Login'|t}" title="{'Login'|t}">
84 <i class="fa fa-user"></i> 84 <i class="fa fa-user" aria-hidden="true"></i>
85 </a> 85 </a>
86 </li> 86 </li>
87 {else} 87 {else}
88 <li class="pure-menu-item" id="shaarli-menu-desktop-logout"> 88 <li class="pure-menu-item" id="shaarli-menu-desktop-logout">
89 <a href="?do=logout" class="pure-menu-link" title="{'Logout'|t}"> 89 <a href="?do=logout" class="pure-menu-link" aria-label="{'Logout'|t}" title="{'Logout'|t}">
90 <i class="fa fa-sign-out"></i> 90 <i class="fa fa-sign-out" aria-hidden="true"></i>
91 </a> 91 </a>
92 </li> 92 </li>
93 {/if} 93 {/if}