Start learning with our library of video tutorials taught by experts. Get started

Improving SEO Using Accessibility Techniques
Illustration by

Using ordered and unordered lists


From:

Improving SEO Using Accessibility Techniques

with Morten Rand-Hendriksen

Video: Using ordered and unordered lists

Lists are powerful and often used tools where web development is concerned. Not only can they create regular bullets and numbered lists, but they can also help organize long strings of related content, be used as menus, or keep order of things like comments. Knowing when and how to use lists the right way can be huge benefit, both for yourself, your visitors, and search engines. When you're building a webpage and you have content types that repeat themselves over and over or you have groups of content that appear in a list, or you have groups of content that should appear together, you're always going to use a list.
Expand all | Collapse all
  1. 3m 3s
    1. Welcome
      1m 4s
    2. Using the exercise files
      1m 59s
  2. 8m 16s
    1. Accessibility and SEO: A primer
      4m 58s
    2. Understanding the benefits of accessibility and SEO
      3m 18s
  3. 11m 26s
    1. Experiencing an inaccessible web site
      6m 4s
    2. Experiencing an accessible web site
      5m 22s
  4. 16m 28s
    1. Evaluating screen readers for Windows and Mac
      5m 56s
    2. Installing browser development tools
      4m 8s
    3. Pretending to be a screen reader
      6m 24s
  5. 7m 40s
    1. Installing SEO tools
      2m 30s
    2. Understanding how search engines search a page
      2m 45s
    3. Comparing sites that are SEO-friendly with ones that are SEO-unfriendly
      2m 25s
  6. 44m 6s
    1. Defining a language for a page
      5m 4s
    2. Defining meta headers for a page
      6m 10s
    3. Creating better semantic markup with HTML5
      3m 13s
    4. Using and hiding section headings
      4m 56s
    5. Creating content hierarchies with heading tags
      5m 29s
    6. Emphasizing content in paragraphs
      5m 36s
    7. Making accessible block quotes
      3m 22s
    8. Using some new HTML5 tags
      4m 47s
    9. Using ordered and unordered lists
      5m 29s
  7. 22m 17s
    1. Marking up links properly
      6m 48s
    2. Marking up images
      7m 23s
    3. Creating a proper image header with CSS
      8m 6s
  8. 32m 43s
    1. Creating an accessible menu with an unordered list
      6m 16s
    2. Creating and hiding nav headings and skip navigation links
      6m 59s
    3. Giving navigation links proper focus with style
      4m 39s
    4. Creating an accessible drop-down menu
      10m 46s
    5. Scrapping drop-down menus for better options
      4m 3s
  9. 3m 44s
    1. Next steps
      3m 44s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Improving SEO Using Accessibility Techniques
2h 29m Intermediate Dec 06, 2011

Viewers: in countries Watching now:

This course focuses on two elements of web development: accessibility and search engine optimization (SEO), demonstrating why they are important and how they work. Author Morten Rand-Hendriksen also shows how good coding practices and modern web standards can make a site accessible and more visible to search engines and social networks.

Topics include:
  • Understanding the benefits of accessibility and SEO
  • Evaluating screen readers for Windows and Mac
  • Installing browser development tools
  • Comparing sites that are SEO-friendly and SEO-unfriendly
  • Defining a language for a page
  • Creating better semantic markup with HTML5
  • Marking up images and links properly
  • Creating an accessible menu with an unordered list
Subjects:
Business Web Accessibility SEO
Author:
Morten Rand-Hendriksen

Using ordered and unordered lists

Lists are powerful and often used tools where web development is concerned. Not only can they create regular bullets and numbered lists, but they can also help organize long strings of related content, be used as menus, or keep order of things like comments. Knowing when and how to use lists the right way can be huge benefit, both for yourself, your visitors, and search engines. When you're building a webpage and you have content types that repeat themselves over and over or you have groups of content that appear in a list, or you have groups of content that should appear together, you're always going to use a list.

Not only does this make it easier to access for people who access the site, but it also tells the browser and search engines that these things belong together and it becomes easier to style for you. The accessibility benefit of creating lists is pretty obvious. When you put items that belong together or are related into a list, then they will be listed out in a list and they're easy to navigate. That also carries over into search engines; once you put items into a list, search engines will see those items as sequential and related and will treat them accordingly. There are several common uses for lists in HTML.

The most common one that you'll see on almost every site these days is Menus. Whereas before, web developers would create tables to contain menu items or they would just list off links, when you make a menu these days, you create an unordered list and then you put each menu item in its own list item. The reason for this is then you can create one style for all the list items and then every time you add a new menu item, it'll automatically inherit that style, so it's just easier to manage. You'll also find lists used extensively in blogs and other indexes. In many blogs you'll see that each post on an index page is actually a list item.

This is done both so it's easy to manage for the developer and also so it's easy to navigate for a person visiting that site. You'll also see lists appear very often in sidebars on blogs and other items, because then you can make one general style for the single list item, and then as you add more things to the sidebar, they just inherit those styles. When it comes to comments on blogs, you'll often find they use numbered lists with sub-lists. That way the browser can count the comments, they're treated as sequential elements, and they make more sense semantically.

Another use that's kind of novel and a lot of people don't know about is image galleries. If you wanted to make an image gallery, the easiest way is to actually to put all the images into lists, and then just style the list items. That makes it easy to manage and they also flow nicely on the page. To give you an idea of how this works, let's take a look at the example project. Looking at the website itself, it doesn't look like there are any lists here. If you look at it, we just have menus and content, but if I turn off Styles, you'll see that all the lists appear.

From the top here the Main Menu is an unordered list. And when we'll scroll down you'll see that this image gallery, the three images are also list items. You notice because they have these bullets next of them, and as we scroll further down, you'll see that each of the big blocks in the sidebar are also lists, and finally that the bottom menu is a list. There are several reasons I laid it out like this. Like I said in the beginning, one of the most important ones, at least for menus, is that once you create a list, adding a new menu item becomes very easy.

If we go into the code, you'll see that adding a menu item is as easy as adding a new list item. You see the menu item here, and all we have to do is simply copy out that code, add a new list item, and call it something else. I'll call it New. So all I did now was add a new list item with a new link, and when I reload the page, you'll see that that list item automatically appears and inherits the same style, as all the other elements. That means managing a menu becomes very easy. The same can be said for this image gallery down here. The reason why I created a list is because then I know that if I add another image, it'll automatically stack nicely underneath the ones that are already there. And if I take one away, the two other images will shift nicely in.

So it's an easy way of managing the image gallery without having to add new styles every time you add a new image. Let's take a look at that code one more time. If I go into my code, you'll see all these lists appear in the same fashion. They start off with an unordered list tag, and then you have each list item appearing underneath. If we scroll down to where the images are, the gallery consists of an unordered list with a class, gallery. And then we have a list item that contains an anchor, and within that anchor or link, we have the image itself, and then that process just repeats itself.

Another list item, another anchor, another image, another list item, another anchor, another image. And as we scroll down, we'll find the sidebar right here, the first sidebar list, the second sidebar list, the third sidebar list, and all the way inside the footer, again, we'll find an unordered list, this time called footer-menu that has list items inside it that point to those menu items. So see how using the list makes it very easy to manage the code on the code end, makes it very easy to style the code for display, and makes it very easy for people to access the code when it's displayed in the site.

Using lists effectively can not only make your site easier to access and understand for people and search engines, but it can also make it easier for you to manage. Looking around the web, you'll see that lists show up everywhere, and often in places you didn't expect. Try for yourself and see if you can start incorporating lists more constructively. When in doubt, a list is often the right answer.

There are currently no FAQs about Improving SEO Using Accessibility Techniques.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Improving SEO Using Accessibility Techniques.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.