diff --git a/packages/odyssey-react-mui/src/Autocomplete.tsx b/packages/odyssey-react-mui/src/Autocomplete.tsx index eee6871ea5..4dbffdb492 100644 --- a/packages/odyssey-react-mui/src/Autocomplete.tsx +++ b/packages/odyssey-react-mui/src/Autocomplete.tsx @@ -471,6 +471,7 @@ const Autocomplete = < // AutoComplete is wrapped in a div within MUI which does not get the disabled attr. So this aria-disabled gets set in the div aria-disabled={isDisabled} clearText={t("clear.text")} + closeText={t("close.text")} disableCloseOnSelect={hasMultipleChoices} disabled={isDisabled} freeSolo={isCustomValueAllowed} @@ -484,6 +485,7 @@ const Autocomplete = < onChange={onChange} onInputChange={onInputChange} onFocus={onFocus} + openText={t("open.text")} options={options} readOnly={isReadOnly} renderInput={renderInput} diff --git a/packages/odyssey-react-mui/src/properties/odyssey-react-mui.properties b/packages/odyssey-react-mui/src/properties/odyssey-react-mui.properties index b43c0db521..3dcba0fadb 100644 --- a/packages/odyssey-react-mui/src/properties/odyssey-react-mui.properties +++ b/packages/odyssey-react-mui/src/properties/odyssey-react-mui.properties @@ -1,7 +1,8 @@ breadcrumbs.home.text = Home breadcrumbs.label.text = Breadcrumbs -close.text = close +close.text = Close clear.text = Clear +open.text = Open picker.calendar.navigation.nextmonth = Next month picker.calendar.navigation.previousmonth = Previous month picker.date.toolbar.title = Selected date @@ -116,4 +117,4 @@ table.rowexpansion.collapse = Collapse table.rowexpansion.collapseall = Collapse all dataview.layout.table = Table dataview.layout.grid = Grid -dataview.layout.list = List \ No newline at end of file +dataview.layout.list = List diff --git a/packages/odyssey-storybook/src/components/odyssey-mui/Toast/Toast.stories.tsx b/packages/odyssey-storybook/src/components/odyssey-mui/Toast/Toast.stories.tsx index f508026275..aa676ea8ff 100644 --- a/packages/odyssey-storybook/src/components/odyssey-mui/Toast/Toast.stories.tsx +++ b/packages/odyssey-storybook/src/components/odyssey-mui/Toast/Toast.stories.tsx @@ -274,7 +274,7 @@ export const Dismissible: StoryObj = { const toastElement = canvas.getByRole("status"); if (toastElement) { const dismissToastButton = within(toastElement).getByRole("button", { - name: "close", + name: "Close", }); if (dismissToastButton) { userEvent.click(dismissToastButton);