@@ -171,8 +171,8 @@ export function GroupsAndDescription(): JSX.Element {
171
171
Milestone
172
172
</ ActionMenu . Button >
173
173
< ActionMenu . Overlay width = "medium" >
174
- < ActionList selectionVariant = "single" showDividers role = "none" >
175
- < ActionList . Group title = "Open" role = "menu" >
174
+ < ActionList selectionVariant = "single" showDividers >
175
+ < ActionList . Group title = "Open" >
176
176
{ milestones
177
177
. filter ( milestone => ! milestone . name . includes ( '21' ) )
178
178
. map ( ( milestone , index ) => (
@@ -189,7 +189,7 @@ export function GroupsAndDescription(): JSX.Element {
189
189
</ ActionList . Item >
190
190
) ) }
191
191
</ ActionList . Group >
192
- < ActionList . Group title = "Closed" role = "menu" >
192
+ < ActionList . Group title = "Closed" >
193
193
{ milestones
194
194
. filter ( milestone => milestone . name . includes ( '21' ) )
195
195
. map ( ( milestone , index ) => (
@@ -270,7 +270,6 @@ export function MultipleSelection(): JSX.Element {
270
270
< ActionList selectionVariant = "multiple" showDividers >
271
271
{ users . map ( user => (
272
272
< ActionList . Item
273
- role = "option"
274
273
key = { user . login }
275
274
selected = { Boolean ( assignees . find ( assignee => assignee . login === user . login ) ) }
276
275
onSelect = { ( ) => toggleAssignee ( user ) }
@@ -313,16 +312,16 @@ export function MixedSelection(): JSX.Element {
313
312
is an action. This pattern appears inside a ActionMenu for selection view options in Memex
314
313
</ p >
315
314
316
- < ActionMenu >
315
+ < ActionMenu open = { true } >
317
316
< ActionMenu . Button
318
317
aria-label = "Select field type to group by"
319
318
leadingIcon = { selectedOption && selectedOption . icon }
320
319
>
321
320
{ selectedOption ? `Group by ${ selectedOption . text } ` : 'Group items by' }
322
321
</ ActionMenu . Button >
323
322
< ActionMenu . Overlay width = "medium" >
324
- < ActionList role = "none" >
325
- < ActionList . Group selectionVariant = "single" title = "Group by" role = "menu" >
323
+ < ActionList >
324
+ < ActionList . Group selectionVariant = "single" title = "Group by" >
326
325
{ options . map ( ( option , index ) => (
327
326
< ActionList . Item
328
327
key = { index }
@@ -337,9 +336,9 @@ export function MixedSelection(): JSX.Element {
337
336
) ) }
338
337
</ ActionList . Group >
339
338
{ typeof selectedIndex === 'number' && (
340
- < ActionList . Group role = "menu" >
339
+ < ActionList . Group selectionVariant = { false } >
341
340
< ActionList . Divider />
342
- < ActionList . Item onSelect = { ( ) => setSelectedIndex ( null ) } role = "menuitem" >
341
+ < ActionList . Item onSelect = { ( ) => setSelectedIndex ( null ) } >
343
342
< ActionList . LeadingVisual >
344
343
< XIcon />
345
344
</ ActionList . LeadingVisual >
0 commit comments