2 ms·
Looks like I missed your remark on sections. I'm not sure about Reader view, but <section> does nothing for screen readers as it comes to headings. It doesn't
by fleddr 5y ago
Looks like I missed your remark on sections.
I'm not sure about Reader view, but <section> does nothing for screen readers as it comes to headings. It doesn't start a new nesting level. You can label a section and this way mark it as a landmark to a screen reader, but that's something you can do on any element.
Meanwhile, developers trying to keep up incidentally may use <section> in an effort to produce more semantic value over a <div>, but they all use it incorrectly. Perhaps because just understanding how to use it correctly seems impossible. Or, better said, it has no function at all:
https://www.scottohara.me/blog/2021/07/16/section.html https://www.scottohara.me/blog/2021/07/16/section.html