Solved

Best web accessibility html markup for text above bulleted list

Posted on 2011-09-14
2
170 Views
Last Modified: 2012-05-12
From a web accessibility or anyone's perspective I was wondering what HTML tag should we use for the text above the bulleted list? See example below.

Should it be a heading tag (i.e. <h1>, <h5>) or a paragraph tag <p> ?

Example
<div class="content">
<p>This is the first paragraph</p>
<p>This is the second paragraph</p>

<p>Computer science subjects include:</p>
<ul>
  <li>Human Computer Interaction</li>
  <li>Web Content accessibility</li>
  <li>Search engine optimisation</li>
</ul>

<p>This is the another paragraph</p>

<h4>Music subjects</h4>
<ul>
  <li>Guitar</li>
  <li>Piano</li>
  <li>Flute</li>
</ul>
</div>

Open in new window

0
Comment
Question by:jeremyll
2 Comments
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 500 total points
ID: 36540870
If you are asking from 'Search Engine Optimization' perspective, then there is no thumb rule for the same. Moreover, it is observed that the evaluation rules are updated regularly so that no one is abusing them.

But In your case a paragraph makes more sense than H1. H2 is not bad either.

From the semantics perspective, Header 1 should be the header of the page and Header 2 is one level down. Since from the details given above, i am not sure which level is it is, so I would go for 'paragraph' suggestion
0
 
LVL 1

Expert Comment

by:jimmart
ID: 36540871
I would use an <hn> tag. The number (n) is up to you.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question