W3C validation

From MoodleDocs
Jump to: navigation, search


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

Personal tools
User docs (English)