Skip to content

Commit 48299f6

Browse files
committed
ensure the description of the store is described when radio button is selected
1 parent f42ed1c commit 48299f6

File tree

1 file changed

+2
-2
lines changed
  • packages/template-retail-react-app/app/components/store-locator-modal

1 file changed

+2
-2
lines changed

packages/template-retail-react-app/app/components/store-locator-modal/stores-list.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ const StoresList = ({storesInfo}) => {
5151
return (
5252
<AccordionItem key={index}>
5353
<HStack align="flex-start" marginTop="16px">
54-
<Radio marginTop="1.5px" value={store.id}></Radio>
55-
<Box>
54+
<Radio value={store.id} marginTop="1.5px" aria-describedby={`store-info-${store.id}`}></Radio>
55+
<Box id={`store-info-${store.id}`}>
5656
{store.name ? <Box fontSize="lg">{store.name}</Box> : ''}
5757
<Box fontSize="md" color="gray.600">
5858
{store.address1}

0 commit comments

Comments
 (0)