https://codepen.io/preetriti1/pen/moOzVg
List component have role set to 'list' when there are no items in the list. When aria-role is set to 'list' it expects a childrole which is absent in case of empty lists.
The div rendering the list should not have the role set to 'list' when there are no items in the list to render.
Are you willing to submit a PR to fix? No
Requested priority: Normal
Products/sites affected: Azure LogicApps accessibility
This accessibility issue looks to be valid given the w3 ARIA spec, specifically the Required Owned Elements section quoted below for role="list":
Lists contain children whose role is listitem, or elements whose role is group which in turn contains children whose role is listitem.
https://www.w3.org/WAI/PF/aria/roles#list
Should be a straightforward fix @aftab-hassan.
cc: @natalieethell
:tada:This issue was addressed in #8337, which has now been successfully released as [email protected].:tada:
Handy links:
Most helpful comment
This accessibility issue looks to be valid given the w3 ARIA spec, specifically the Required Owned Elements section quoted below for
role="list":Should be a straightforward fix @aftab-hassan.
cc: @natalieethell