From: <gi...@ma...> - 2011-02-19 03:10:28
|
The branch, master has been updated via d6b9f244e4c61da98ba976dabbb719834b786dda (commit) via 931d19e7a57c648c50fe705677774b685c5212df (commit) from 88f7416d24ab8544e76f773bfc055b3e9c47aff2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d6b9f244e4c61da98ba976dabbb719834b786dda Author: David Hicks <hic...@op...> Date: Sat Feb 19 14:09:29 2011 +1100 Use label tag for view status checkbox in bugnote add form To aid accessibility the view status "private" checkbox in the bugnote add form should make use of the HTML <label> field. commit 931d19e7a57c648c50fe705677774b685c5212df Author: David Hicks <hic...@op...> Date: Sat Feb 19 14:05:37 2011 +1100 Use label tag for "Username" text box in the bug monitor list To aid accessibility the "Username" text next to the username text input field within the bug monitor list (when viewing a bug) should use the HTML <label> tag. ----------------------------------------------------------------------- Summary of changes: bug_monitor_list_view_inc.php | 5 +++-- bugnote_add_inc.php | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) ----------------------------------------------------------------------- commit d6b9f244e4c61da98ba976dabbb719834b786dda Author: David Hicks <hic...@op...> Date: Sat Feb 19 14:09:29 2011 +1100 Use label tag for view status checkbox in bugnote add form To aid accessibility the view status "private" checkbox in the bugnote add form should make use of the HTML <label> field. diff --git a/bugnote_add_inc.php b/bugnote_add_inc.php index 78fc6da..f4f7a07 100644 --- a/bugnote_add_inc.php +++ b/bugnote_add_inc.php @@ -85,9 +85,9 @@ require_api( 'lang_api.php' ); $t_default_bugnote_view_status = config_get( 'default_bugnote_view_status' ); if ( access_has_bug_level( config_get( 'set_view_status_threshold' ), $f_bug_id ) ) { ?> - <input type="checkbox" name="private" <?php check_checked( $t_default_bugnote_view_status, VS_PRIVATE ); ?> /> + <input type="checkbox" id="bugnote_add_view_status" name="private" <?php check_checked( $t_default_bugnote_view_status, VS_PRIVATE ); ?> /> + <label for="bugnote_add_view_status"><?php echo lang_get( 'private' ) ?></label> <?php - echo lang_get( 'private' ); } else { echo get_enum_element( 'project_view_state', $t_default_bugnote_view_status ); } commit 931d19e7a57c648c50fe705677774b685c5212df Author: David Hicks <hic...@op...> Date: Sat Feb 19 14:05:37 2011 +1100 Use label tag for "Username" text box in the bug monitor list To aid accessibility the "Username" text next to the username text input field within the bug monitor list (when viewing a bug) should use the HTML <label> tag. diff --git a/bug_monitor_list_view_inc.php b/bug_monitor_list_view_inc.php index 48b5b1b..ea9bab7 100644 --- a/bug_monitor_list_view_inc.php +++ b/bug_monitor_list_view_inc.php @@ -86,12 +86,13 @@ if ( access_has_bug_level( config_get( 'show_monitor_list_threshold' ), $f_bug_i } if ( access_has_bug_level( config_get( 'monitor_add_others_bug_threshold' ), $f_bug_id ) ) { - echo '<br /><br />', lang_get( 'username' ); ?> + <br /><br /> <form method="get" action="bug_monitor_add.php"> <?php echo form_security_field( 'bug_monitor_add' ) ?> <input type="hidden" name="bug_id" value="<?php echo (integer)$f_bug_id; ?>" /> - <input type="text" name="username" /> + <label for="bug_monitor_list_username"><?php echo lang_get( 'username' ) ?></label> + <input type="text" id="bug_monitor_list_username" name="username" /> <input type="submit" class="button" value="<?php echo lang_get( 'add_user_to_monitor' ) ?>" /> </form> <?php } ?> ----------------------------------------------------------------------- -- Mantis Bug Tracker |