Solved

Best web accessibility html markup for text above bulleted list

Posted on 2011-09-14
2
168 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This video teaches users how to migrate an existing Wordpress website to a new domain.
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now