a11yTips — Use CSS rather than table markup for page layout

Use CSS rather than table markup for page layout

Make sure page layout is handled through CSS and not HTML table markup

While using HTML tables for layout does not automatically guarantee an accessibility failure, experience shows that CSS-driven websites tend to be more accessible because the less HTML markup is used to control layout, the less likely this markup will get in the way of assistive technologies. Organizing content blocks with layout tables may produce a confusing rendering in which related information is positioned together visually on the screen, but separated in the source code. As long as tables are not deeply nested into a mess of convoluted code and the use of layout tables does not break the logical order in which the content is presented, the impact on accessibility can be minimal. However, massively relying on CSS to avoid issues with the rendering of content is still one of the best options authors have to ensure a meaningful order.

To do so, simply make sure that CSS is used to its full potential and avoid table markup for page layout. Authors should keep layout tables to a minimum and absolutely avoid everything but TABLE, TR and TD elements when tables [...]

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