Closed mirhamasala closed 1 year ago
Hey! So role=“list”
is necessary when setting list-style-type: none
otherwise certain screen readers won’t treat the element like a list:
https://www.scottohara.me/blog/2019/01/12/lists-and-safari.html
Hope that helps!
@adamwathan Totally helps. Thank you.
What component (if applicable)
Describe the bug The components use HTML
<ul>
androle="list"
To Reproduce Steps to reproduce the behavior:
code
tab for any stacked list component<ul>
role="list"
Expected behavior
role="list"
shouldn't be necessary when using<ul>
Screenshots
Additional context https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/list_role