We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92ffe66 commit b440e5fCopy full SHA for b440e5f
1 file changed
packages/react/src/components/ContainedList/ContainedList.js
@@ -94,7 +94,15 @@ function ContainedList({
94
</LayoutConstraint>
95
</div>
96
{children && (
97
- <ul aria-labelledby={labelId}>
+ /**
98
+ * Webkit removes implicit "list" semantics when "list-style-type: none" is set.
99
+ * Explicitly setting the "list" role ensures assistive technology in webkit
100
+ * browsers correctly announce the semantics.
101
+ *
102
+ * Ref https://bugs.webkit.org/show_bug.cgi?id=170179#c1
103
+ */
104
+ // eslint-disable-next-line jsx-a11y/no-redundant-roles
105
+ <ul role="list" aria-labelledby={labelId}>
106
{isActionSearch ? filteredChildren : renderedChildren}
107
</ul>
108
)}
0 commit comments