MuiAutocomplete component- getOptionLabel and aria-label needs to be different, could not able to achieve it #43715
Labels
component: autocomplete
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
In the MuiAutocomplete component,
On inspecting one of the selected Option, for example: "Male" then for accessibility it should display aria-label as "Remove Male" by keeping the Option label text as "Male".
Tried updating code in the
renderInput={params =>
as
'role': 'button',
'aria-label': 'remove' + params.inputProps.value,
but not working.
Looking for a solution.
Search keywords:
The text was updated successfully, but these errors were encountered: