a11yTips — Assign a main landmark role to the page’s main…

Assign a main landmark role to the page’s main content section

no. 039

Make sure the main content section is identified using the main landmark role

It is common practice to assign descriptive ID values such as id=”mainContent” to the main content section of the page, but this information conveys no semantics to assistive technologies. The main landmark role is intended to fix this, by programmatically defining a region that usually contains – you guessed it – the main content of a page. This marks the content that is directly related to or expands upon the central topic of the document. The purpose of the main landmark role is to identify a unique region as the main content section, and convey that information to assistive technologies.

To do this, simply make sure the “main” ARIA landmark role is assigned to the main content section of the page. Within any document or application, the author should mark no more than one element with the main landmark role. As a complementary practice to provide additional confirmation about the region’s purpose, consider providing an aria-label attribute with a value of “Main Content” to add a descriptive label to this region, or even wrap the region using [...]

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