Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: W3C validation.

W3C validation

From MoodleDocs

To use the W3C Markup Validation Service:

  1. Set your theme to "standard" or "standardwhite".
  2. Add a user with the username "w3cvalidator".
  3. Give that user all the roles and permissions that you want the validator to have. Easiest is just to make it an admin.
  4. (Optional) Turn debugging up a little in Administration > Server > Debugging. This will give you handy validation links in the footer.
  5. Click on the links to validate that page (or paste URLs directly). They should work now, because Moodle automatically detects the validator and treats it as the w3cvalidator user.

See also