A "section" without an accessible name is nothing but a "div" - Stefan Judis

Shared: | Tags: accessibility til webdev

Stefan writes about how a <section> is essentially a <div> if an aria-label is not used. The <section> element would have been more prominent if browsers had implemented document outline functionality, which, according to Stefan never happened. So today, you can use <section>s to signal where a section begins and ends, an example given in the writing was a summary paragraph.

In my site and blog, I use <sections> a number of times, and TIL they're not much more than <div>s. I'll have to revisit my HTML templates and CSS and make changes.

Read from link