VoiceOver does not respect 'aria-setsize' for list role

Originator:amber.ybxue
Number:rdar://FB8050960 Date Originated:December 2, 2020
Status:Open Resolved:
Product:VoiceOver Product Version:Mac Big Sur
Classification: Reproducible:yes
 
According to 'https://www.w3.org/TR/wai-aria-1.1/#aria-setsize', 'aria-setsize' defines the number of item in a set. This is very common for virtualization because not all DOM element is presented.

VoiceOver does not respect 'aria-setsize' when narrates a list.

Here's a simple HTML for reproduce:

<h2 id="label_fruit">Available Fruit</h2>
<ul aria-labelledby="label_fruit">
  <li style="list-style-type: none;" aria-setsize="16" aria-posinset="5">
    apples
  </li>
  <li style="list-style-type: none;" aria-setsize="16" aria-posinset="6">
    bananas
  </li>
  <li style="list-style-type: none;" aria-setsize="16" aria-posinset="7">
    cantaloupes
  </li>
  <li style="list-style-type: none;" aria-setsize="16" aria-posinset="8">
    dates
  </li>
</ul>

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!