Solved

Best web accessibility html markup for text above bulleted list

Posted on 2011-09-14
2
174 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

691 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