As well as publishing guidelines on accessibility, W3C provide a range of tools for checking that websites have valid links, stylesheets and code.
Following the W3C guidelines will help make your website more usable for users in general, as well as for those with disabilities.
You can use the code markup validator and CSS validator to see if your website follows the guidelines. This can also be helpful when troubleshooting page display issues during web development.