Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.9.5
-
Fix Version/s: None
-
Component/s: Accessibility
-
Labels:None
-
Environment:Win Server 2003. IIS6.
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
Description
This is W3C XHTML Strict 1.0 validated in Moodle 1.9.3 but the same code brings up a W3C validation error in Moodle 1.9.5 and probably will in Moodle 2 as well.
This is my content put into the label html content box using the toggle html button:
<div class="cssbox">
<div class="cssbox_head">
<h2><strong>Notices</strong></h2></div>
<div class="cssbox_body">
W3C is reporting the error because of the <span class="label"> added to the start of my label content by Moodle.
Source code 1.9.3:
<li class="activity label" id="module-16313"><div class="cssbox">
<div class="cssbox_head">
Source code 1.9.5:
<li class="activity label" id="module-16313"><span class="label"><div class="cssbox">
My frontpage validation error is caused by <span class="label">
Issue Links
| This issue will be resolved by: | ||||
| MDL-20366 | <span class="label "> breaks validation in course home page |
|
|
|
This is my first QA action I hope it's ok.
These bugs seem related. I'm also having them on my site. I've stopped using labels because of the bug.
http://vle.st-benedicts.cumbria.sch.uk/