WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Aside element inside and aside?

for

From: Glen Walker
Date: Jul 22, 2022 12:27PM


If you’re asking from a “is this valid html?” perspective, then yes.

https://html.spec.whatwg.org/multipage/sections.html#the-aside-element

An aside can have “flow content” inside it and an aside element is considered “flow content” so it can be nested.

Conceptually, an aside is tangential info to the main page. So an aside inside an aside means it’s info that is tangentially related to the first aside and not necessarily to the main page.