Why Validate HTML Code?
So why validate? Why do so many accessibility consultants and web accessibility guideline documents recommend that your web pages meet standards for valid, well-formed HTML or XHTML? It’s to make them “robust.” Creating a document that meets a published standard for the language it’s written in is essentially future-proofing it. Even if your website works perfectly in all existing browsers, with all existing screen readers, and any other current assistive technologies, the use of non-standard methods and technologies means that you’re not using the methods developers are striving to support. When developers create new browsers or assistive technology, they look to the language specifications for HTML and XHTML to determine how they will make the information available to users of their software. When you follow those specifications, you’re working with the goals of future software developers. If you ignore them, you’re making life harder for the developers. At some point, you’ll be depe