WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Landmarks


From: Greg Jellin
Date: Jan 14, 2020 12:57PM


Are you saying that if the landmark doesn't have a role=main in addition
to the native HTML <main> it doesn't show up in the elements list for
NVDA? I just tested and <main> was sufficient to be included in the
elements list, as was <main role="main"> and <div role="main">. All
three of those behaved the same for me. Note, I used Chrome for this.
What browser are you seeing this on?


On 1/14/2020 11:46 AM, Christine Hogenkamp wrote:
> For what it's worth, I just happened to test this in NVDA, and if the
> landmark doesn't have role="main" etc used, it doesn't show up in the
> Elements List section for Landmarks. It may seem redundant to have both
> but does appear necessary/not redundant for some assistive devices.