WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Aside element inside and aside?


From: glen walker
Date: Jul 22, 2022 10:16PM

Nested landmarks aren't disallowed. You see that often with navigation
landmarks inside of banner landmarks. Or even navigation inside of

Complementary inside a complementary might be a little weird, but if they
have aria-labels, it could be ok.

My original answer was from an html validation perspective. It's valid.
The original question didn't specify if they were looking for "is this
allowed" or "is this a good idea".

On Fri, Jul 22, 2022 at 8:00 PM Jon Gunderson < <EMAIL REMOVED> >

> Not a good idea from an accessibility point of view to nest aside
> elements, since aside elements create complementary landmarks. Nested
> aside elements will be confusing to screen reader uses and “polute” this
> list of landmarks view.