The Wikimedia projects are not currently passing the W3's markup validation, e.g. see:
Currently, 4 errors are reported.
The same also applies with CSS, where there are currently 252 bugs on en.wp:
(and varying but similar numbers on other projects).