OL and the START attribute

​Hi everyone,

Is there a way to better describe to audio AT a split OL that uses start="N" so at item 1 the audio AT user discovers the overall list is N items long?


DETAIL
---
If I want to construct this...

List of pets I like
1. I like cats
Hey, look at these cats [link to happy cats]
2. I also like dogs

Ignoring the first line (an H2) and the third (a P), if I use two OL tags, each with an LI, the second OL tag including the attribute and value
start="2"

then *visually* I get what I want, a list that is clearly two items, with some other content between the two items. Also the content is valid HTML.

However, with NVDA at least, I hear

List with one items, 1... I like cats
Hey, look at these cats [link to happy cats]
List with one items, 2 ... I like dogs

Ideally I would like NVDA to "see" that overall the list is two items and announce it as

List with two items, 1... I like cats

I have looked to see if there is ARIA to provide this type of ability but so far have not found any.

Short of a visually hidden text item explaining this is a list of N items, does anyone know if I can improve what I have here, or have any other comment. For example, I assume that if I do nothing more this passes WCAG, even though the visual audience gets a richer experience, since at a glance they see it is a list of two items, whereas the audio audience has to wait to hear the second item before they find this out.

Thanks for any comments.

Regards,

Alan

-Alan Bristow
Web Programmer
Elections Canada
alan.bristow@elections.ca

Received on Wednesday, 12 May 2021 11:33:56 UTC