aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/page.header.html
diff options
context:
space:
mode:
authorLuce Carević <lcarevic@access42.net>2019-07-13 18:26:31 +0200
committerLuce Carević <lcarevic@access42.net>2019-07-13 18:26:31 +0200
commit719ef8e896d4bd28d8d56baafbbe25b8e4e58636 (patch)
tree7faee72bf0b5b83ba0e034691fa1f364819b308c /tpl/default/page.header.html
parent01ba8a0700ea4730e6dc38c685cb6a9c0fbdcccd (diff)
downloadShaarli-719ef8e896d4bd28d8d56baafbbe25b8e4e58636.tar.gz
Shaarli-719ef8e896d4bd28d8d56baafbbe25b8e4e58636.tar.zst
Shaarli-719ef8e896d4bd28d8d56baafbbe25b8e4e58636.zip
fix a11y
Diffstat (limited to 'tpl/default/page.header.html')
-rw-r--r--tpl/default/page.header.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html
index 0ba1993f..93825fb5 100644
--- a/tpl/default/page.header.html
+++ b/tpl/default/page.header.html
@@ -7,7 +7,7 @@
7 {$shaarlititle} 7 {$shaarlititle}
8 </a> 8 </a>
9 </header> 9 </header>
10 <a href="#" class="menu-toggle" id="menu-toggle" aria-label="Menu"><s class="bar" aria-hidden="true"></s><s class="bar" aria-hidden="true"></s></a> 10 <a href="#" class="menu-toggle" id="menu-toggle" aria-label="{'Menu'|t}"><s class="bar" aria-hidden="true"></s><s class="bar" aria-hidden="true"></s></a>
11 </div> 11 </div>
12 </div> 12 </div>
13 <div class="pure-u-1"> 13 <div class="pure-u-1">
@@ -99,37 +99,37 @@
99 </div> 99 </div>
100</div> 100</div>
101 101
102<div id="content" class="container"> 102<main id="content" class="container" role="main">
103 <div id="search" class="subheader-form searchform-block header-search"> 103 <div id="search" class="subheader-form searchform-block header-search">
104 <form method="GET" class="pure-form searchform" name="searchform"> 104 <form method="GET" class="pure-form searchform" name="searchform">
105 <input type="text" tabindex="1" id="searchform_value" name="searchterm" placeholder="{'Search text'|t}" 105 <input type="text" id="searchform_value" name="searchterm" aria-label="{'Search text'|t}" placeholder="{'Search text'|t}"
106 {if="!empty($search_term)"} 106 {if="!empty($search_term)"}
107 value="{$search_term}" 107 value="{$search_term}"
108 {/if} 108 {/if}
109 > 109 >
110 <input type="text" tabindex="2" name="searchtags" id="tagfilter_value" placeholder="{'Filter by tag'|t}" 110 <input type="text" name="searchtags" id="tagfilter_value" aria-label="{'Filter by tag'|t}" placeholder="{'Filter by tag'|t}"
111 {if="!empty($search_tags)"} 111 {if="!empty($search_tags)"}
112 value="{$search_tags}" 112 value="{$search_tags}"
113 {/if} 113 {/if}
114 autocomplete="off" data-multiple data-autofirst data-minChars="1" 114 autocomplete="off" data-multiple data-autofirst data-minChars="1"
115 data-list="{loop="$tags"}{$key}, {/loop}" 115 data-list="{loop="$tags"}{$key}, {/loop}"
116 > 116 >
117 <button type="submit" class="search-button"><i class="fa fa-search"></i></button> 117 <button type="submit" class="search-button" aria-label="{'Search'|t}"><i class="fa fa-search" aria-hidden="true"></i></button>
118 </form> 118 </form>
119 </div> 119 </div>
120 <div id="actions" class="subheader-form"> 120 <div id="actions" class="subheader-form">
121 <div class="pure-g"> 121 <div class="pure-g">
122 <div class="pure-u-1"> 122 <div class="pure-u-1">
123 <a href="" id="actions-delete" class="button"> 123 <a href="" id="actions-delete" class="button">
124 <i class="fa fa-trash"></i> 124 <i class="fa fa-trash" aria-hidden="true"></i>
125 {'Delete'|t} 125 {'Delete'|t}
126 </a>&nbsp; 126 </a>&nbsp;
127 <a href="" class="actions-change-visibility button" data-visibility="public"> 127 <a href="" class="actions-change-visibility button" data-visibility="public">
128 <i class="fa fa-globe"></i> 128 <i class="fa fa-globe" aria-hidden="true"></i>
129 {'Set public'|t} 129 {'Set public'|t}
130 </a>&nbsp; 130 </a>&nbsp;
131 <a href="" class="actions-change-visibility button" data-visibility="private"> 131 <a href="" class="actions-change-visibility button" data-visibility="private">
132 <i class="fa fa-user-secret"></i> 132 <i class="fa fa-user-secret" aria-hidden="true"></i>
133 {'Set private'|t} 133 {'Set private'|t}
134 </a> 134 </a>
135 </div> 135 </div>
@@ -138,15 +138,15 @@
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}" tabindex="3"> 141 <input type="text" name="login" placeholder="{'Username'|t}" >
142 <input type="password" name="password" placeholder="{'Password'|t}" tabindex="5"> 142 <input type="password" name="password" placeholder="{'Password'|t}" >
143 <div class="remember-me"> 143 <div class="remember-me">
144 <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="6" 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>
146 </div> 146 </div>
147 <input type="hidden" name="token" value="{$token}"> 147 <input type="hidden" name="token" value="{$token}">
148 <input type="hidden" name="returnurl"> 148 <input type="hidden" name="returnurl">
149 <input type="submit" value="Login" tabindex="7"> 149 <input type="submit" value="Login">
150 </div> 150 </div>
151 </form> 151 </form>
152 {/if} 152 {/if}