HTML5 Sectioning Elements: ARIA Landmarks Example

HTML5 Sectioning Elements

It is important to understand that many HTML5 sectioning (e.g. main,nav, aside …) elements by default define ARIA landmarks.
If HTML5 sectioning elements are used without understanding the associated landmark structure, assistive technology users will most likely be confused and less efficient in accessing content and interacting with web pages.

HTML5 Element
Default Landmark Role

aside
complementary

footer
contentinfo when in context of the body element.
The footer element is not a contentinfo landmark when it is a descendant of the following HTML5 sectioning elements:

  • article
  • aside
  • main
  • nav
  • section

form
form when it has an accessible name using aria-labelledby, aria-label or title attributes

header
banner when in context of the body element.
The header element is not a banner landmark when it is a descendant of the following HTML5 sectioning elements:

  • article
  • aside
  • main
  • nav
  • section

main
main

nav
navigation

section
region when it has an accessible name using aria-labelledby, aria-label or title attribute

Read article at w3.org

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