Skip to content

Commit 1d0aeaf

Browse files
adding the label tag to improve accessibility
1 parent 690aaaa commit 1d0aeaf

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

java/org/apache/catalina/manager/HTMLManagerServlet.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,34 +1172,34 @@ private static <U extends Comparable<? super U>> Comparator<Session> comparingNu
11721172
"<table cellspacing=\"0\" cellpadding=\"3\">\n" +
11731173
"<tr>\n" +
11741174
" <td class=\"row-right\">\n" +
1175-
" <small>{3}</small>\n" +
1175+
" <label for=\"deployPath\"><small>{3}</small></label>\n" +
11761176
" </td>\n" +
11771177
" <td class=\"row-left\">\n" +
1178-
" <input type=\"text\" name=\"deployPath\" size=\"20\">\n" +
1178+
" <input type=\"text\" name=\"deployPath\" id=\"deployPath\" size=\"20\">\n" +
11791179
" </td>\n" +
11801180
"</tr>\n" +
11811181
"<tr>\n" +
11821182
" <td class=\"row-right\">\n" +
1183-
" <small>{4}</small>\n" +
1183+
" <label for=\"deployVersion\"><small>{4}</small></label>\n" +
11841184
" </td>\n" +
11851185
" <td class=\"row-left\">\n" +
1186-
" <input type=\"text\" name=\"deployVersion\" size=\"20\">\n" +
1186+
" <input type=\"text\" name=\"deployVersion\" id=\"deployVersion\" size=\"20\">\n" +
11871187
" </td>\n" +
11881188
"</tr>\n" +
11891189
"<tr>\n" +
11901190
" <td class=\"row-right\">\n" +
1191-
" <small>{5}</small>\n" +
1191+
" <label for=\"deployConfig\"><small>{5}</small></label>\n" +
11921192
" </td>\n" +
11931193
" <td class=\"row-left\">\n" +
1194-
" <input type=\"text\" name=\"deployConfig\" size=\"20\">\n" +
1194+
" <input type=\"text\" name=\"deployConfig\" id=\"deployConfig\" size=\"20\">\n" +
11951195
" </td>\n" +
11961196
"</tr>\n" +
11971197
"<tr>\n" +
11981198
" <td class=\"row-right\">\n" +
1199-
" <small>{6}</small>\n" +
1199+
" <label for=\"deployWar\"><small>{6}</small></label>\n" +
12001200
" </td>\n" +
12011201
" <td class=\"row-left\">\n" +
1202-
" <input type=\"text\" name=\"deployWar\" size=\"40\">\n" +
1202+
" <input type=\"text\" name=\"deployWar\" id=\"deployWar\" size=\"40\">\n" +
12031203
" </td>\n" +
12041204
"</tr>\n" +
12051205
"<tr>\n" +
@@ -1226,10 +1226,10 @@ private static <U extends Comparable<? super U>> Comparator<Session> comparingNu
12261226
"<table cellspacing=\"0\" cellpadding=\"3\">\n" +
12271227
"<tr>\n" +
12281228
" <td class=\"row-right\">\n" +
1229-
" <small>{2}</small>\n" +
1229+
" <label for=\"deployWarFile\"><small>{2}</small></label>\n" +
12301230
" </td>\n" +
12311231
" <td class=\"row-left\">\n" +
1232-
" <input type=\"file\" name=\"deployWar\" size=\"40\">\n" +
1232+
" <input type=\"file\" name=\"deployWar\" id=\"deployWarFile\" size=\"40\">\n" +
12331233
" </td>\n" +
12341234
"</tr>\n" +
12351235
"<tr>\n" +
@@ -1262,10 +1262,10 @@ private static <U extends Comparable<? super U>> Comparator<Session> comparingNu
12621262
"<table cellspacing=\"0\" cellpadding=\"3\">\n" +
12631263
"<tr>\n" +
12641264
" <td class=\"row-right\">\n" +
1265-
" <small>{3}</small>\n" +
1265+
" <label for=\"tlsHostName\"><small>{3}</small></label>\n" +
12661266
" </td>\n" +
12671267
" <td class=\"row-left\">\n" +
1268-
" <input type=\"text\" name=\"tlsHostName\" size=\"20\">\n" +
1268+
" <input type=\"text\" name=\"tlsHostName\" id=\"tlsHostName\" size=\"20\">\n" +
12691269
" </td>\n" +
12701270
"</tr>\n" +
12711271
"<tr>\n" +

0 commit comments

Comments
 (0)