WebAIM - Web Accessibility In Mind

E-mail List Archives

Semantic Order -

for

From: Dennis Deacon
Date: Mar 28, 2016 7:53AM


We have an internal debate over the best way to handle semantic order.
Here's an example:

<h2>Sub heading</h2>
<ul>
<li>
<h3>Sub sub heading 1</h3>
<p>Textual content related to Sub sub heading 1</p>
</li>
<li>
<h3>Sub sub heading 2</h3>
<p>Textual content related to Sub sub heading 1</p>
</li>
<li>
<h3>Sub sub heading 3</h3>
<p>Textual content related to Sub sub heading 1</p>
</li>
</ul>

<p>Some text not related to Sub sub heading 3, but could be related to the
last h2 Sub heading.</p>

Does the paragraph after the unordered list need a heading to take it out
of the Sub sub heading 3 grouping? Would wrapping the unordered list with a
div create a grouping, eliminating the need for a heading before this
paragraph?

Thanks in advance.

--
Dennis Deacon
Email: <EMAIL REMOVED>
Website/Portfolio: dennisdeacon.com
Blog: dennisdeacon.com/blog
LinkedIn Profile: linkedin.com/in/dennisdeacon