DistributedProofreaders / ppwb

Post Processor's Workbench
GNU General Public License v3.0
5 stars 6 forks source link

Update HTML to make it pass validation #32

Closed cpeel closed 2 years ago

cpeel commented 2 years ago

Update the HTML to make it pass the W3 Validator. Mostly this was removing autocomplete="off" from inputs that did not support it and updating inputs to have an ID so that <label for='xx'> was pointing at a valid thing but there were some legit errors in pptext.php that were fixed.

Also update the tags to make it HTML, not XHTML, as that's what doctype we're providing.

No functional changes.

This is testable in https://www.pgdp.org/~cpeel/ppwb/index.php

cpeel commented 2 years ago

You're looking at the HTML created by pphtml which is a separate tool than the ppwb itself (and in a separate repo). My changes are only to ppwb but it looks like I could make pphtml output valid as well.