Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

W3C validation

From MoodleDocs
Revision as of 06:49, 21 September 2011 by Michael de Raadt (talk | contribs) (Updating links to User docs)


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