Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2.5, 2.3.1, 2.4
-
Component/s: Accessibility, Administration
-
Testing Instructions:
-
Affected Branches:MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
Fixed Branches:MOODLE_22_STABLE, MOODLE_23_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
In adminsettings forms the div.form-label contains both the <label> and a span.form-shortname. The span is not actually part of the label text and so should be placed outside of the label tag e.g current:
<div class="form-item clearfix" id="admin-debug">
|
<div class="form-label">
|
<label for="id_s__debug">Debug messages<span class="form-shortname">debug</span></label>
|
</div>
|
should be
<div class="form-item clearfix" id="admin-debug">
|
<div class="form-label">
|
<label for="id_s__debug">Debug messages</label>
|
<span class="form-shortname">debug</span>
|
</div>
|
Otherwise the browser will run both bits of text together to generate a label similar to "Debug messagesdebug" or " Display debug messagesdebugdisplay".