4 ms·
What about the usage of tags such as <header> being nested inside <section>s? This is what I've taken to lately in my limited web dev, because it feels like the
by jbrennan 15y ago
What about the usage of tags such as <header> being nested inside <section>s? This is what I've taken to lately in my limited web dev, because it feels like the correct way forward.
Though I'm guessing those new HTML tags probably also don't have widespread adoption among accessibility tools.
- robin_reala 15y agoThere’s no problem with doing this, but a header tag in and of itself doesn’t signify a heading within the document outline. You need to use an h1-6 for that (as far as I understand it, I’m still getting my head around the outlining algorithm).