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

Test: HTML LI element in a UL with a sub UL (posinset)

Current support: partial (2/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 UL with sub UL</title>
</head>
<body>
    <p>Use the screen reader to announce the target element.</p>
    <ul>
       <li id="target">
           Target
           <ul>
               <li>Sub UL list item 1</li>
               <li>Sub UL list item 2</li>
           </ul>
       </li>
        <li>
            Parent UL list item 2
        </li>
        <li>
            Parent UL list item 3
        </li>
    </ul>
</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 (2/9)nana

Assertion support summary by assertion

FeatureAssertionSupportHas failing tests
li elementThe screen reader MUST convey the position of the current list item in the setpartial (2/9)No

li element: The screen reader MUST convey the position of the current list item in the set

Rationale: A screen reader user needs to know their position in a list.

Examples of assistive technologies support this assertion:

  • When in an ordered list context, the role might be conveyed with the position of the list item (1, 2, 3, etc.).
  • When in an unordered list context, the role might be conveyed by the word "bullet" or information about the position of the item in the list.
  • The position of the first item in the list might be implied by the first announcement of list semantics.

This assertion is from the li element feature.

ATBrowserHas SupportOutputAction
Dragon Naturally SpeakingInternet Explorernot applicable-More information
JAWSGoogle Chromeunknown-More information
JAWSInternet Explorerunknown-More information
JAWSFirefox (desktop)unknown-More information
NarratorMicrosoft Edgeunknown-More information
NVDAGoogle Chromeunknown-More information
NVDA 2018.3.2Firefox (desktop) 62yes
  • Result: (pass)
    • command: down arrow
    • Output: List with three items. Bullet Target.
More information
TalkBackGoogle Chrome (android)unknown-More information
VoiceOver for iOSSafari (iOS)unknown-More information
VoiceOver for macOS 10.14Safari (macOS) 12yes
  • Result: (pass)
    • command: VO + Right arrow
    • Output: Target 1 of 3
More information

Extended Support for: li element: The screen reader MUST convey the position of the current list item in the set

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