Small accessibility changes - adding ul to li (#24449)
* adding ul to li * move ul for just the mobile picker
This commit is contained in:
@@ -40,7 +40,11 @@ function PickerSummaryWrapper({ variant, children }: PickerWrapperPropsT) {
|
||||
|
||||
function PickerOptionsWrapper({ variant, children }: PickerWrapperPropsT) {
|
||||
if (variant === 'inline') {
|
||||
return <Box py="2">{children}</Box>
|
||||
return (
|
||||
<Box py="2">
|
||||
<ul>{children}</ul>
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
return (
|
||||
<Dropdown.Menu direction="sw" style={{ width: 'unset' }}>
|
||||
|
||||
Reference in New Issue
Block a user