French developer Théo Ducreux’s ValidateHTML project examined 5,000 of the web’s most visited sites and found that over 87% violate HTML standards, highlighting a widespread disregard for web best practices just as AI-driven web reading becomes more prevalent.
- 87.2% of top 5,000 sites have HTML violations on homepages
- Only about 2.6% fully meet best practice validation
- Over 33% have significant accessibility issues risking legal fines
What happened
ValidateHTML, a project led by French developer Théo Ducreux, evaluated the HTML compliance of 5,000 leading websites by analyzing their homepages using the html-validate.org tool. The results revealed that only 12.8% of these sites passed basic HTML validation, with a stricter interpretation lowering the compliant number to just 2.6%. Over 87% contained HTML errors. Accessibility issues affect more than a third of the sites, which may violate laws such as the European Accessibility Act.
This widespread failure to comply with standards is linked to developers publishing sites that are simply 'good enough' given modern browsers’ capability to automatically correct many code errors. Ducreux’s study focused exclusively on homepages, noting that internal pages like checkouts or CMS-generated content are likely in even worse condition.
Why it matters
Web standards established by the W3C since 1996 and WHATWG since 2004 are foundational to ensuring content is accessible, functional, and readable across different browsers and user needs. They also enable people with disabilities to access the web, preventing exclusion and avoiding potential legal penalties for noncompliance.
In the burgeoning AI era, these standards take on renewed importance. AI-powered agents and bots prioritize human-readable content to determine a website’s value and usability. Poor adherence to web best practices jeopardizes not only user experience but also how AI indexes, understands, and ranks websites, potentially undermining business objectives and encouraging a shift to AI-generated or AI-assisted code solutions.
What to watch next
Developers and organizations should prioritize robust adherence to web standards to ensure long-term site usability and legal compliance, especially as regulations around accessibility tighten globally. Monitoring tools like ValidateHTML can aid in tracking and improving compliance.
The growing role of AI in web interaction demands cleaner, standards-compliant code. Future trends may see increased reliance on AI-generated web content that inherently follows best practices, challenging traditional coding workflows. Stakeholders should remain vigilant on how AI-driven evaluation influences web development priorities and browser behaviors.