summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-07-24 18:51:58 +0200
committerAndreas Gohr <andi@splitbrain.org>2006-07-24 18:51:58 +0200
commit11ea018f9b6b30192b2a8c08a85265bdf9d3ce21 (patch)
tree3bd085864cb5a773d73b422b12637cbed7938c2c /inc/template.php
parent850d6bf6605add7df9c86492766d6427b48ef994 (diff)
downloadrpg-11ea018f9b6b30192b2a8c08a85265bdf9d3ce21.tar.gz
rpg-11ea018f9b6b30192b2a8c08a85265bdf9d3ce21.tar.bz2
add button lables to title attribute #862
Instead of only showing the accesskey in button's title tooltips now the button label is shown additionally. This helps blind users with screenreaders. darcs-hash:20060724165158-7ad00-056481f9120c383cac03b1b2c6c397e829b7d103.gz
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index 82a1bdef7..ac24096a3 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -527,7 +527,7 @@ function tpl_searchform($ajax=true,$autocomplete=true){
if($ACT == 'search') print 'value="'.htmlspecialchars($_REQUEST['id']).'" ';
if(!$autocomplete) print 'autocomplete="off" ';
print 'id="qsearch__in" accesskey="f" name="id" class="edit" title="[ALT+F]" />';
- print '<input type="submit" value="'.$lang['btn_search'].'" class="button" />';
+ print '<input type="submit" value="'.$lang['btn_search'].'" class="button" title="'.$lang['btn_search'].'" />';
if($ajax) print '<div id="qsearch__out" class="ajax_qsearch JSpopup"></div>';
print '</div></form>';
}