a11yTips — Create Web documents that are well-formed

Create Web documents that are well-formed

no. 050

Make sure HTML tags are nested according to the specification

Browsers and other user agents, including assistive technologies, can accurately interpret and parse HTML content as long as they are well-formed, meaning that the elements are nested according to the rules set in the HTML specification. The goal is to avoid parsing errors that will potentially cause assistive technologies and other user agents to inaccurately interpret the markup and lead to misleading or false information due to markup not being structured as expected.

To do this, simply make sure that user agents, including assistive technologies, can accurately interpret and parse content. If the content cannot be parsed into a data structure, then different user agents may present it differently or be completely unable to parse it. Specify the version of HTML used and rely on a validation service to make sure the markup does not contain well-formedness errors. When HTML documents are free of such errors, the interpretation by assistive technologies such as screen readers will be much smoother and the information conveyed to users, that much more accurate.

User Story

As a user using assistive technology, I want my tools to reliably interpret the HTML [...]

Read article at dboudreau.tumblr.com

Article Taxonomies

Categories:
Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /home/webable/www/www/wp-content/themes/webable/content-mcm.php:65 Stack trace: #0 /home/webable/www/www/wp-includes/template.php(812): require() #1 /home/webable/www/www/wp-includes/template.php(745): load_template('/home/webable/w...', false, Array) #2 /home/webable/www/www/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #3 /home/webable/www/www/wp-content/themes/webable/single-mcm_article.php(15): get_template_part('content-mcm') #4 /home/webable/www/www/wp-includes/template-loader.php(106): include('/home/webable/w...') #5 /home/webable/www/www/wp-blog-header.php(19): require_once('/home/webable/w...') #6 /home/webable/www/www/index.php(17): require('/home/webable/w...') #7 {main} thrown in /home/webable/www/www/wp-content/themes/webable/content-mcm.php on line 65