id="browse-search-class" browse_only=1 plural=1 %]
[% control_bterm = BLOCK %]<input type="text" name="bterm" id="browse-term"
+ aria-label="[% l('Browse term') %]"
value="[% CGI.param('bterm') | html %]" />[% END %]
[% control_locg = INCLUDE build_org_selector id='browse-context'
show_loc_groups=1
[% END %]
<table>
<tr><td>[% l('Current Email') %]</td><td>[% ctx.user.email | html %]</td></tr>
- <tr><td>[% l('Current Password') %]</td><td><input type='password' name='current_pw'/></td></tr>
- <tr><td>[% l('New Email') %]</td><td><input type='text' name='email' value='[% ctx.invalid_email | html %]'/></td></tr>
+ <tr><td><label for="current_pw">[% l('Current Password') %]</label></td><td><input type='password' name='current_pw' id='current_pw' /></td></tr>
+ <tr><td><label for="new_email">[% l('New Email') %]</label></td><td><input type='text' name='email' id='new_email' value='[% ctx.invalid_email | html %]'/></td></tr>
<tr><td colspan='2' align='center'><input value="[% l('Submit') %]" type='submit'/></td></tr>
</table>
</form>
<form method='post' id='account-update-email' autocomplete='off'>
<table>
- <tr><td>[% l('Current Password') %]</td><td><input type='password' name='current_pw'/></td></tr>
- <tr><td>[% l('New Password') %]</td><td><input type='password' name='new_pw'/></td></tr>
- <tr><td>[% l('New Password Again') %]</td><td><input type='password' name='new_pw2'/></td></tr>
+ <tr><td><label for="current_pw">[% l('Current Password') %]</label></td><td><input type='password' name='current_pw' id='current_pw' /></td></tr>
+ <tr><td><label for="new_pw">[% l('New Password') %]</label></td><td><input type='password' name='new_pw' id='new_pw' /></td></tr>
+ <tr><td><label for="new_pw2">[% l('New Password Again') %]</label></td><td><input type='password' name='new_pw2'id='new_pw2' /></td></tr>
<tr><td colspan='2' align='center'><input value="[% l('Submit') %]" type='submit'/></td></tr>
</table>
</form>
<option value="[% o.value %]" [% c == o.value ? ' selected="selected"' : '' %]>[% o.label %]</option>
[% END %]
</select>
- <input title="[% l('Search term') %]"
+ <input title="[% l('Search term') %]" aria-label="[% l('Search term') %]"
type='text' size='18' name='query' value="[% q | html %]" x-webkit-speech [% IF loop.index == 0 %] autofocus [% END %] />
<a href="javascript:;" class="row-remover"
title="[% l('Remove row') %]" alt="[% l('Remove row') %]"
<option value="item_barcode">[% l('Item Barcode') %]</option>
</select>
- <input type="text" name="query" size="16" autofocus placeholder='[% l("Identifier") %]' />
+ <input type="text" name="query" size="16" autofocus placeholder='[% l("Identifier") %]' aria-label='[% l("Identifier") %]' />
<br/>
[%- lib_select_id="numeric_search_library" -%]
<label for="[% lib_select_id %]"><strong>[% l("Search Library:") %]</strong>
<br/>
<div id='adv_special_block'>
[% END %]
- <input title="[% l('Search date') %]"
+ <input title="[% l('Search date') %]" aria-label="[% l('Search date') %]"
name='date1' type='text' size='4' maxlength='4' value="[% CGI.param('date1') | html %]" />
<span id='adv_global_pub_date_2_span' class='[% CGI.param("pubdate") == "between" ? "" : "hide_me" %]'>
- [% l("and") %] <input name='date2'
+ [% l("and") %] <input name='date2' aria-label="[% l('Secondary search date') %]"
title="[% l('Secondary search date') %]" type='text' size='4' maxlength='4' value="[% CGI.param('date2') | html %]" />
</span>
[% IF !ctx.exclude_electronic_checkbox %]
<input type="hidden" name="orig_referrer" value="[% CGI.referer | html %]" />
<input type="hidden" name="redirect_to" value="[% mkurl('', {}, ['list_none_selected', 'cart_none_selected']) %]" />
<div class="bbag-action" style="clear:both;">
- <select name="action">
+ <select name="action" aria-label="[% l('Actions for these items') %]">
<option>[% l('-- Actions for these items --') %]</option>
<option value="place_hold">[% l('Place hold') %]</option>
<option value="print">[% l('Print title details') %]</option>
</select>
[%- INCLUDE "opac/parts/preserve_params.tt2"; %]
<input class="opac-button" type="submit" value="[% l('Go') %]" />
- <input type="checkbox" name="clear_cart">[% l('Clear entire basket when action complete') %]</input>
+ <input type="checkbox" name="clear_cart" id="clear_cart" /><label for="clear_cart">[% l('Clear entire basket when action complete') %]</label>
[% IF CGI.param('cart_none_selected') %]
<span class="error">[% l('No items were selected') %]</span>
[% END %]
<thead id="acct_list_header_anon">
<tr>
<td class='list_checkbox'>
- <input type="checkbox" checked="checked" onclick="
+ <input type="checkbox" checked="checked"
+ aria-label="[% l('Select all records') %]" onclick="
var inputs=document.getElementsByTagName('input');
for (i = 0; i < inputs.length; i++) {
if (inputs[i].name == 'record' && !inputs[i].disabled) inputs[i].checked = this.checked;}"/>
PROCESS get_marc_attrs args=attrs %]
<tr>
<td class="list_checkbox">
- <input type="checkbox" checked="checked" name="record" value="[% item %]" />
+ <input type="checkbox" checked="checked" name="record" value="[% item %]" aria-label="[% l('Select record') %]" />
</td>
<td class="list_entry" data-label="[% l('Title') %]"><a href="[% mkurl(ctx.opac_root _ '/record/' _ item, {}, ['edit_notes', 'id']) %]">[% attrs.title | html %]</a></td>
<td class="list_entry" data-label="[% l('Author(s)') %]"><a href="[%-
<div id="record_basket">
<div id="basket_actions">
- <select id="select_basket_action">
+ <select id="select_basket_action" aria-label="[% l('Select basket action') %]">
<option value="">[% l('-- Basket Actions --') %]</option>
<option value="[% mkurl(ctx.opac_root _ '/mylist', {}) %]">[% l('View Basket') %]</option>
<option value="[% mkurl(ctx.opac_root _ '/mylist/move', { action => 'place_hold', entire_list => 1 }) %]">[% l('Place Holds') %]</option>
%]
<input type='hidden' name='redirect_to' value='[% redirect | html %]'/>
<input type="checkbox" name="persist" id="login_persist" /><label for="login_persist"> [% l('Stay logged in?') %]</label>
- <input type="submit" value="[% l('Log in') %]" alt="[% l('Log in') %]" class="opac-button" />
+ <input type="submit" value="[% l('Log in') %]" class="opac-button" />
</div>
<input id="client_tz_id" name="client_tz" type="hidden" />
</form>
<label for="hold_usr_is_requestor_not">
[% l("Place hold for patron by barcode:") %]
</label>
- <input type="text" name="hold_usr" id="hold_usr_input"
+ <input type="text" name="hold_usr" id="hold_usr_input"
+ aria-label="[% l('Barcode') %]"
value="[% usr_barcode | html %]"
onchange="staff_hold_usr_barcode_changed();"
onpaste="setTimeout(staff_hold_usr_barcode_changed,1);"
[% END %]
</blockquote>
<blockquote>
+ <label for="hold_suspend">
[% IF ctx.hold_data.size == 1;
l('Suspend this hold?');
ELSE;
l('Suspend these holds?');
END %]
+ </label>
<img src="[% ctx.media_prefix %]/images/question-mark.png[% ctx.cache_key %]"
alt="[% l('Suspend Hold Help') %]"
title="[% l('A suspended hold will retain its place in the queue, but will not be fulfilled until it has been activated.') %]" />
</blockquote>
</p>
[% IF CGI.param('from_basket') %]
- <blockquote><input type="checkbox" name="clear_cart">[% l('Clear basket after holds are requested?') %]</input></blockquote>
+ <blockquote><input type="checkbox" name="clear_cart" id="clear_cart" /><label for="clear_cart">[% l('Clear basket after holds are requested?') %]</label></blockquote>
[% END %]
<input id="place_hold_submit" type="submit" name="submit"
value="[% l('Submit') %]" title="[% l('Submit') %]"
<input type="checkbox" id="select-[% rec.bre_id %]" name="selected_record"
[% IF is_selected %] checked="checked" [% END %]
title="[% l('Add to Basket') %]"
+ aria-label="[% l('Add to Basket') %]"
class="result_record_selector hidden" value="[% rec.bre_id %]"></input>
[% END %]
[% result_count; result_count = result_count + 1 %].
});
END;
%]
-[% IF NOT sms_carrier_hide_label; l('Mobile carrier:'); END; %]
-<select name="sms_carrier">
+[% IF NOT sms_carrier_hide_label; '<label for="sms_carrier">' _ l('Mobile carrier:') _ '</label>'; END; %]
+<select name="sms_carrier" id="sms_carrier" [% IF sms_carrier_hide_label; 'aria-label="' _ l('Mobile carrier') _ '"'; END; %]>
<option value="">[% l('Please select your mobile carrier') %]</option>
[% FOR carrier IN carriers.sort('name','region') -%]
<option value='[% carrier.id | html %]'[%
-[% IF NOT sms_number_hide_label; l('Mobile number:'); END; %]
+[% IF NOT sms_number_hide_label; '<label for="sms_notify">' _ l('Mobile number:') _ '</label>'; END; %]
<input type="text" name="sms_notify" [% setting = 'opac.default_sms_notify';
-IF ctx.user_setting_map.$setting; %] value='[% ctx.user_setting_map.$setting | html %]' [% END %]/>
+IF ctx.user_setting_map.$setting; %] value='[% ctx.user_setting_map.$setting | html %]' [% END %]
+[% IF sms_number_hide_label; 'aria-label="' _ l('Mobile number') _ '"'; END; %] id="sms_notify" />
[% IF NOT sms_number_hide_hint; l('Hint: use the full 10 digits of your phone #, no spaces, no dashes'); END; %]