What is w3C Validation?

Paul Murray

Free Member
Nov 24, 2011
656
189
Manchester
In a nutshell the validator checks through your markup (or CSS) and points out areas where you are using HTML elements incorrectly. This could be placing a HTML element incorrectly inside another, or missing or adding a role value.

Roles are most commonly used to tell screen readers what the purpose of an element is i.e. a menu section, a list of options, a form, etc. Like most users, visually impaired users scan the screen for the content they want but they have to do this via a program that reads the code on a site and then narrates the site to them. Roles means they can quickly tell if they should let the screen reader continue on that section or to move onto the next.

HTML doesn't need to be valid for most browsers to display the page but validation ensures you're less likely to run into display issues and generally gives visually impaired users the best experience you can.
 
Upvote 0

Latest Articles