Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Importance Of Lists
Julia 👩🏻‍💻 GDE
Julia 👩🏻‍💻 GDE

Posted on • Edited on

     

Importance Of Lists

Semantic structure is the foundation for accessible markup, as they properly convey information to the user through the accessibility API via screen readers.

In this article, let's take a closer look at how a screen reader interacts with a list, provided it is written with correct semantic HTML.

Access lists with a screen reader

When the screen reader encounters a list, it announces that it is a list and how many elements the list contains.

Depending on the type of list, the screen reader reads the list slightly differently.

Ordered lists

Ordered lists are written with a parent element<ol> containing child elements of<li>.
The screen reader announces e.g.list,3 items,1 list-element 1,2 list-element 2,3 list-element 3.

Unordered lists

Unordered lists are written with a parent element<ul> containing child elements of<li>.
The screen reader announces e.g.list,3 items,bullet list-element 1,bullet list-element 2,bullet list-element 3.

Description lists

Description lists are written with a parent element<dl>, a term element<dt> containing child elements of<dd>.
The screen reader announces e.g.description list,3 items,term,term element,child element 1,group,child element 1, ... .

Access lists with a screen reader (live demo)

I am using VoiceOver on the MacBook Air. I tried it in Safari, Chrome and Firefox, it worked the same everywhere.

TheControl + Option combination is often referred to asVO.

Let's take a look on how I went through the lists in this example. To read the page useVO + A, to stop it useControl.

You can find the example to test it on your own on codepen.

Methods Screen ReaderBrowserCommand
Show All ListsVoiceOverSafariControl + Option + U (to open rotor*), butList was not shown in the web rotor, even though I selected the item in the settings*
Navigate from One List Item to the NextVoiceOverSafariControl + Option + Command + X

*I did research on other browser/screen reader combination. I found out that with JAWS with Chrome or Firefox you can doControl + L to show all lists.

Voice Over settings where the list is one of the selected items in the web rotor.

Note: If you have further information on this I would be happy if you could share in the comments.


Follow me for more accessibility content on:

Website -accessibilityfirst.xyz
Instagram -accessibilityfirst.xyz
LinkedIn -accessibilityfirst

Top comments(1)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
yuridevat profile image
Julia 👩🏻‍💻 GDE
👋 Selftaught Accessibility & Frontend Developer💻 Dev & UX Accessibility Specialist @Atos | CPACC🙆 Improving the world with accessible web content✍️ Content creator, Tips on How To Get Into Tech
  • Location
    Vienna, Austria
  • Education
    selftaught
  • Work
    Frontend & Accessibility Developer
  • Joined

Thanks Cristian ☺️

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

👋 Selftaught Accessibility & Frontend Developer💻 Dev & UX Accessibility Specialist @Atos | CPACC🙆 Improving the world with accessible web content✍️ Content creator, Tips on How To Get Into Tech
  • Location
    Vienna, Austria
  • Education
    selftaught
  • Work
    Frontend & Accessibility Developer
  • Joined

More fromJulia 👩🏻‍💻 GDE

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp