From 11ea018f9b6b30192b2a8c08a85265bdf9d3ce21 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 24 Jul 2006 18:51:58 +0200 Subject: 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 --- inc/html.php | 23 ++++++++++++++--------- inc/template.php | 2 +- 2 files changed, 15 insertions(+), 10 deletions(-) (limited to 'inc') diff --git a/inc/html.php b/inc/html.php index 58199e1cd..128cdeb00 100644 --- a/inc/html.php +++ b/inc/html.php @@ -150,7 +150,7 @@ function html_topbtn(){ global $lang; $ret = ''; - $ret = ''; + $ret = ''; return $ret; } @@ -173,10 +173,12 @@ function html_backtomedia_button($params,$akey=''){ } $ret .= ' - + @@ -1062,8 +1067,8 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed?
- - + +
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 ''; + print ''; if($ajax) print '
'; print ''; } -- cgit v1.2.3