[Rt-commit] rt branch, 4.2-trunk, updated. rt-4.2.8-22-gfa34393

Alex Vandiver alexmv at bestpractical.com
Mon Oct 20 16:58:34 EDT 2014

The branch, 4.2-trunk has been updated
       via  fa34393b3b8072f424427df40a0cf148705be4f0 (commit)
      from  d34aaa49dc860201df93c24f3dd607ce3584bf4d (commit)

Summary of changes:
 share/html/Admin/Elements/SelectNewGroupMembers | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit fa34393b3b8072f424427df40a0cf148705be4f0
Author: Matt Zagrabelny <mzagrabe at d.umn.edu>
Date:   Mon Oct 20 15:38:07 2014 -0500

    add label tags to SelectNewGroupMembers for completeness
    Commit 760ae517867 removed the <label> tags and used table
    structure for alignment of this form. Add the label tags back in to
    allow user to focus the text boxes by clicking the labels and also for
    accessibility (screen readers) reasons.

diff --git a/share/html/Admin/Elements/SelectNewGroupMembers b/share/html/Admin/Elements/SelectNewGroupMembers
index bf1e719..c6b062d 100644
--- a/share/html/Admin/Elements/SelectNewGroupMembers
+++ b/share/html/Admin/Elements/SelectNewGroupMembers
@@ -48,7 +48,7 @@
 % if ( $Show ne 'Groups' ) {
-<td class="label"><&|/l&>Add user</&>:</td>
+<td class="label"><label for="<% $Name %>Users"><&|/l&>Add user</&>:</label></td>
 <input type="text" value="" name="<% $Name %>Users" id="<% $Name %>Users" data-autocomplete="Users" data-autocomplete-return="Name" data-autocomplete-privileged="1" data-autocomplete-exclude="<% $user_ids |n %>" />
 <script type="text/javascript">
@@ -66,7 +66,7 @@ jQuery(function(){
 % if ( $Show ne 'Users' ) {
-<td class="label"><&|/l&>Add group</&>:</td>
+<td class="label"><label for="<% $Name %>Groups"><&|/l&>Add group</&>:</label></td>
 <input type="text" value="" name="<% $Name %>Groups" id="<% $Name %>Groups" data-autocomplete="Groups" data-autocomplete-exclude="<% $group_ids |n %>" />
 <script type="text/javascript">


More information about the rt-commit mailing list