Notice: This is a work in progress. Please submit feedback or suggestions.

Test: HTML LI element in a OL with a sub OL (setsize)

Current support: partial (7/9)

This test ensures that the number of items in a list are being computed correctly when there is a sub-list.

Run this test and and submit your results

On this page

Test HTML

open the test page in a new tab
<!DOCTYPE html>
<html lang="en">
<head>
    <title>HTML LI element in OL with sub OL</title>
</head>
<body>
<p>Use the screen reader to announce the target element.</p>
<ol>
    <li id="target">
        Target
        <ol>
            <li>Sub OL list item 1</li>
            <li>Sub OL list item 2</li>
        </ol>
    </li>
    <li>
        Parent OL list item 2
    </li>
    <li>
        Parent OL list item 3
    </li>
</ol>
</body>
</html>

Support tables

Assertions are conditions that must be met for the feature to be considered as "supported". Only "MUST" assertions need to be met for minimal "support". "SHOULD" and "MAY" assertions indicates support that goes above and beyond. Note that there is not an explicit standard that dictates these assertions, and as such, they are likely opinionated. Minimal support reflects that the structure, relationships, and functionality of the feature are conveyed and operable by assistive technology rather than minimal conformance to any specific WCAG SC. As such, a feature might not meet all "MUST" assertions but still be usable (potentially frustratingly so).

Assertion support summary by type of assertion
MUSTSHOULDMAY
partial (7/9)nana

Assertion support summary by assertion

FeatureAssertionSupportHas failing tests
ol elementThe screen reader MUST convey the number of items in the listpartial (7/9)Yes

ol element: The screen reader MUST convey the number of items in the list

Examples of assistive technologies support this assertion:

  • Typically, the word "list" is announced when entering the list. The list item's number is announced when entering a list item. Together, these two pieces of information convey the ordered list role.

This assertion is from the ol element feature.

ATBrowserHas SupportOutputAction
Dragon Naturally SpeakingInternet Explorernot applicable-More information
JAWS 2018.1811.2Google Chrome 74yes
  • Result: (pass)
    • command: Down arrow
    • Output: "List of 3 items"
More information
JAWS 2018.1811.2Internet Explorer 11.134yes
  • Result: (pass)
    • command: Down arrow
    • Output: "List of 3 items"
More information
JAWS 2018.1811.2Firefox (desktop) 66yes
  • Result: (pass)
    • command: Down arrow
    • Output: "List of 3 items"
More information
Narrator 1809Microsoft Edge 44.17763yes
  • Result: (pass)
    • command: Down arrow
    • Output: "Enter list. 1. Target. 1 of 3 level 1."
More information
NVDA 2018.1808.10Google Chrome 74yes
  • Result: (pass)
    • command: down arrow
    • Output: "List with 3 items. 1. Target."
More information
NVDA 2018.3.2Firefox (desktop) 62yes
  • Result: (pass)
    • command: down arrow
    • Output: "List with 3 items. 1. Target."
More information
TalkBackGoogle Chrome (android)unknown-More information
VoiceOver for iOS 12.2Safari (iOS) 12.2none
  • Result: (fail)
    • command: Swipe Right
    • Output: Target. List Start
More information
VoiceOver for macOS 10.14Safari (macOS) 12yes
  • Result: (pass)
    • command: VO + Right arrow
    • Output: list. 3 items
More information

Extended Support for: ol element: The screen reader MUST convey the number of items in the list

These are less common combinations

ATBrowserHas SupportOutputAction
Dragon Naturally SpeakingFirefox (desktop)not applicable-More information
Dragon Naturally SpeakingGoogle Chromenot applicable-More information
JAWSMicrosoft Edgeunknown-More information
NarratorFirefox (desktop)unknown-More information
NarratorGoogle Chromeunknown-More information
NarratorInternet Explorerunknown-More information
NVDAInternet Explorerunknown-More information
NVDAMicrosoft Edgeunknown-More information
TalkBackFirefox (desktop)unknown-More information
VoiceOver for iOSGoogle Chrome (ios)unknown-More information
VoiceOver for macOSGoogle Chromeunknown-More information
VoiceOver for macOSFirefox (desktop)unknown-More information

History

  • 2018-10-19 Test created