Solved

Best web accessibility html markup for text above bulleted list

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
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…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

706 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

18 Experts available now in Live!

Get 1:1 Help Now