Skip to content

Commit

Permalink
Use label tag for "Select All" checkbox on view_all_bug_page
Browse files Browse the repository at this point in the history
To aid accessibility the "Select All" text next to the checkbox to
select all bugs on the page should be a HTML <label>.
  • Loading branch information
davidhicks committed Feb 19, 2011
1 parent 42ec45f commit 88f7416
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion view_all_inc.php
Expand Up @@ -220,7 +220,8 @@ function write_bug_rows ( $p_rows )
<span class="floatleft">
<?php
if ( $g_checkboxes_exist && ON == config_get( 'use_javascript' ) ) {
echo '<input type="checkbox" name="bug_arr_all" value="all" class="check_all" /><span class="small">' . lang_get( 'select_all' ) . '</span>';
echo '<input type="checkbox" id="bug_arr_all" name="bug_arr_all" value="all" class="check_all" />';
echo '<label for="bug_arr_all">' . lang_get( 'select_all' ) . '</label>';
}

if ( $g_checkboxes_exist ) {
Expand Down

0 comments on commit 88f7416

Please sign in to comment.