Skip to content

Commit 5ba091d

Browse files
committed
Change "Help" links to be more specific.
1 parent fc43d68 commit 5ba091d

File tree

10 files changed

+17
-15
lines changed

10 files changed

+17
-15
lines changed

lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ sub fieldHTML ($c, $userID, $setID, $problemID, $globalRecord, $userRecord, $fie
10001000
},
10011001
$c->c(
10021002
$c->tag('i', class => 'icon fas fa-question-circle', 'aria-hidden' => 'true'),
1003-
$c->tag('span', class => 'visually-hidden', $c->maketext('Help'))
1003+
$c->tag('span', class => 'visually-hidden', $c->maketext('[_1] Help', $properties{name}))
10041004
)->join('')
10051005
)
10061006
: '';

templates/ContentGenerator/CourseAdmin/add_course_form.html.ep

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,9 @@
230230
. 'inspect the new course configuration file and make adjustments for the new instructor.') =%>"
231231
>
232232
<i class="icon fas fa-question-circle" aria-hidden="true"></i>
233-
<span class="visually-hidden"><%= maketext('Help') =%></span>
233+
<span class="visually-hidden">
234+
<%= maketext('Notes regarding copying the course configuration file') =%>
235+
</span>
234236
</a>
235237
</label>
236238
</div>

templates/ContentGenerator/Grades/student_stats.html.ep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
. 'has not been attempted. The bottom number is the number of incorrect attempts.'
1818
) =%>">
1919
<i class="icon fas fa-question-circle" aria-hidden="true"></i>
20-
<span class="visually-hidden"><%= maketext('Help') %></span>
20+
<span class="visually-hidden"><%= maketext('Problem Score Help') %></span>
2121
</a>
2222
</th>
2323
</tr>

templates/ContentGenerator/Instructor/PGProblemEditor/hardcopy_form.html.ep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
tabindex => 0,
3434
begin =%>
3535
<i class="icon fas fa-question-circle" aria-hidden="true"></i>
36-
<span class="visually-hidden"><%= maketext('Help') =%></span>
36+
<span class="visually-hidden"><%= maketext('Hardcopy Format Help') =%></span>
3737
<% end =%>
3838
<% end =%>
3939
<div class="col-auto">

templates/ContentGenerator/Instructor/ProblemSetDetail/restricted_login_proctor_password_row.html.ep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
. 'their username and password on the student\'s screen for authentication.'
2121
) =%>">
2222
<i class="icon fas fa-question-circle" aria-hidden="true"></i>
23-
<span class="visually-hidden"><%= maketext('Help') =%></span>
23+
<span class="visually-hidden"><%= maketext('Proctor Password Help') =%></span>
2424
</a>
2525
</td>
2626
<td>

templates/ContentGenerator/Instructor/Stats/problem_stats.html.ep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
'Success index is the square of the average score divided by the average number of attempts.'
5959
) %>">
6060
<i class="icon fas fa-question-circle" aria-hidden="true"></i>
61-
<span class="visually-hidden"><%= maketext('Help') =%></span>
61+
<span class="visually-hidden"><%= maketext('Success Index Help') =%></span>
6262
</a>
6363
</th>
6464
<td><%= sprintf('%0.1f', 100 * $successIndex) %></td>
@@ -88,7 +88,7 @@
8888
data-bs-content="<%=
8989
maketext('Success index is the square of the score divided by the number of attempts.') =%>">
9090
<i class="icon fas fa-question-circle" aria-hidden="true"></i>
91-
<span class="visually-hidden"><%= maketext('Help') =%></span>
91+
<span class="visually-hidden"><%= maketext('Success Index Help') =%></span>
9292
</a>
9393
% end
9494
% push @tableHeaders, $successIndexHeader->();

templates/ContentGenerator/Instructor/Stats/set_stats.html.ep

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
. 'Indvidual students may have different settings.'
2121
) %>">
2222
<i class="icon fas fa-question-circle" aria-hidden="true"></i>
23-
<span class="visually-hidden"><%= maketext('Help') =%></span>
23+
<span class="visually-hidden"><%= maketext('Set Status Help') =%></span>
2424
</a>
2525
</th>
2626
<td>
@@ -49,7 +49,7 @@
4949
. 'template answer date has passed. See Set Detail page for actual availability.'
5050
) =%>">
5151
<i class="icon fas fa-question-circle" aria-hidden="true"></i>
52-
<span class="visually-hidden"><%= maketext('Help') =%></span>
52+
<span class="visually-hidden"><%= maketext('Answer Availability Help') =%></span>
5353
</a>
5454
% }
5555
</td>
@@ -108,7 +108,7 @@
108108
data-bs-content="<%= maketext(
109109
'Success index is the square of the average score divided by the average number of attempts.') %>">
110110
<i class="icon fas fa-question-circle" aria-hidden="true"></i>
111-
<span class="visually-hidden"><%= maketext('Help') =%></span>
111+
<span class="visually-hidden"><%= maketext('Success Index Help') =%></span>
112112
</a>
113113
% end
114114
%

templates/ContentGenerator/Instructor/StudentProgress/set_progress.html.ep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
. 'has not been attempted. The bottom number is the number of incorrect attempts.'
198198
) =%>">
199199
<i class="icon fas fa-question-circle" aria-hidden="true"></i>
200-
<span class="visually-hidden"><%= maketext('Help') =%></span>
200+
<span class="visually-hidden"><%= maketext('Problem Score Help') =%></span>
201201
</a>
202202
</th>
203203
% }

templates/ContentGenerator/ProblemSet/problem_list.html.ep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
begin =%>
3232
<i class="icon fas fa-question-circle" aria-hidden="true"></i>
33-
<span class="visually-hidden"><%= maketext('Help') =%></span>
33+
<span class="visually-hidden"><%= maketext('Adjusted Status Help') =%></span>
3434
<% end =%>
3535
</th>
3636
<th><%= maketext('Counts for Parent') %></th>

templates/HTML/SingleProblemGrader/grader.html.ep

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
begin =%>
5151
<i class="icon fas fa-question-circle" aria-hidden="true"></i>
52-
<span class="visually-hidden"><%= maketext('Help') =%></span>
52+
<span class="visually-hidden"><%= maketext('Answer Score Help') =%></span>
5353
<% end =%>
5454
<% end =%>
5555
<div class="col-sm">
@@ -150,7 +150,7 @@
150150
},
151151
begin =%>
152152
<i class="fas fa-question-circle" aria-hidden="true"></i>
153-
<span class="visually-hidden"><%= maketext('Help Icon') %></span>
153+
<span class="visually-hidden"><%= maketext('Point Value Help') %></span>
154154
<% end =%>
155155
<% end =%>
156156
<div class="col-sm">
@@ -220,7 +220,7 @@
220220
},
221221
begin =%>
222222
<i class="fas fa-question-circle" aria-hidden="true"></i>
223-
<span class="visually-hidden"><%= maketext('Help Icon') %></span>
223+
<span class="visually-hidden"><%= maketext('Problem Score Help') %></span>
224224
<% end =%>
225225
<% end =%>
226226
<div class="col-sm">

0 commit comments

Comments
 (0)