Moodle

XHTML 1.0 Validation Error activity label <span class="label">

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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.

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

Activity

Hide
John Bracegirdle added a comment -

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/

Show
John Bracegirdle added a comment - 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/
Hide
Michael de Raadt added a comment -

Thanks for reporting this issue.

We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

Michael d;

lqjjLKA0p6

Show
Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
Hide
Michael de Raadt added a comment -

I'm closing this issue as it appears to have become inactive and is probably not relevant to a current supported version. If you are encountering this problem or one similar, please launch a new issue.

Show
Michael de Raadt added a comment - I'm closing this issue as it appears to have become inactive and is probably not relevant to a current supported version. If you are encountering this problem or one similar, please launch a new issue.

People

Vote (2)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: