File tree 1 file changed +4
-6
lines changed 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -48,21 +48,19 @@ function VariantSelect(props) {
48
48
id = { match . variant . shortName }
49
49
key = { index }
50
50
active = { active } >
51
- < span aria-label = { `${ match . variant . title } . List items ${ index + 1 } of ${ variantPages . length } ` } >
52
- { match . variant . title }
53
- </ span >
51
+ { match . variant . title }
54
52
</ ActionList . Item > ) ;
55
53
} ) ;
56
54
57
55
const ariaLabelMenuButton = open ? 'Version release' : selectedItem . variant . title
58
56
59
57
return (
60
58
< ThemeProvider >
61
- < label id = "label-versions-list-item" htmlFor = 'variant-select ' > Select CLI Version:</ label >
62
- < ActionMenu id = "versions-list-item" aria-labelledby = "label-versions-list-item" open = { open } onOpenChange = { setOpen } >
59
+ < label id = "label-versions-list-item" htmlFor = 'versions-list-item ' > Select CLI Version:</ label >
60
+ < ActionMenu open = { open } onOpenChange = { setOpen } >
63
61
< ActionMenu . Button autofocus = "true" aria-label = { ariaLabelMenuButton } > { selectedItem . variant . title } </ ActionMenu . Button >
64
62
< ActionMenu . Overlay width = "medium" onEscape = { ( ) => setOpen ( false ) } >
65
- < ActionList >
63
+ < ActionList id = "versions-list-item" aria-labelledby = "label-versions-list-item" >
66
64
{ items }
67
65
</ ActionList >
68
66
</ ActionMenu . Overlay >
You can’t perform that action at this time.
0 commit comments