Link Search Menu Expand Document

WAI-ARIA - Landmark

I landmark forniscono un modo molto potente per identificare l’organizzazione e la struttura di una pagina web.

Elementi di sezione HTML

E’ importante capire che molti elementi dis ezione HTML(main, nav, aside,…) definiscono di default landmark ARIA. Se si utilizzano quidni questi tag in modo inappropriato, il lettore vocale potrebbe non comprendere correttamente il contenuto della pagina ed essere meno efficiente nell’interagire con gli elementi.

HTML ElementDefault Landmark Role
asidecomplementary
footercontentinfo when in context of the body element. The footer element is not a contentinfo landmark when it is a descendant of the following HTML sectioning elements:
  • article
  • aside
  • main
  • nav
  • section
formform when it has an accessible name using aria-labelledby, aria-label or title attributes
headerbanner when in context of the body element. The header element is not a banner landmark when it is a descendant of the following HTML sectioning elements:
  • article
  • aside
  • main
  • nav
  • section
mainmain
navnavigation
sectionregion when it has an accessible name using aria-labelledby, aria-label or title attribute

Torna su

Copyright ©2021 Developed by Francesco Agnoletto for Alloy Srl.