Headings Code

Inaccessible Code

<p><span style="font-size:16px;"><strong>Main Topic 1</strong></span></p>
<p>text</p>

<p><strong><span style="font-size:14px;">Subtopic 1</span></strong></p>
<p>text</p>

<p><span style="font-size:14px;"><strong>Subtopic 2</strong></span></p>
<p>text</p>

<p><span style="font-size:16px;"><strong>Main Topic 2</strong></span></p>
<p>text</p>

 

Accessible Code

<h3>Main Topic 1</h3>
<p>text</p>

<h4>Subtopic 1</h4>
<p>text</p>

<h4>Subtopic 2</h4>
<p>text</p>

<h3>Main Topic 2</h3>
<p>text</p>