diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/currency/components/CurrencyPickerDropdownSelect.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/currency/components/CurrencyPickerDropdownSelect.tsx index 18891ea4b40b..a3d6866ff829 100644 --- a/packages/twenty-front/src/modules/ui/input/components/internal/currency/components/CurrencyPickerDropdownSelect.tsx +++ b/packages/twenty-front/src/modules/ui/input/components/internal/currency/components/CurrencyPickerDropdownSelect.tsx @@ -12,10 +12,12 @@ export const CurrencyPickerDropdownSelect = ({ currencies, selectedCurrency, onChange, + id }: { currencies: Currency[]; selectedCurrency?: Currency; onChange: (currency: Currency) => void; + id?:string }) => { const [searchFilter, setSearchFilter] = useState(''); @@ -32,7 +34,7 @@ export const CurrencyPickerDropdownSelect = ({ ); return ( - + setSearchFilter(event.target.value)} diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/Dropdown.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/Dropdown.tsx index f3bf97d0d63c..36e386f4691e 100644 --- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/Dropdown.tsx +++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/Dropdown.tsx @@ -113,6 +113,10 @@ export const Dropdown = ({
{clickableComponent}
diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownContent.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownContent.tsx index 3c2d2ea0ae0a..acbae17556e2 100644 --- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownContent.tsx +++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownContent.tsx @@ -122,6 +122,8 @@ export const DropdownContent = ({ {hasMaxHeight ? ( {children} diff --git a/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelect.tsx b/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelect.tsx index a90fe43890d4..4d8db31cb885 100644 --- a/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelect.tsx +++ b/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelect.tsx @@ -67,6 +67,8 @@ export const MenuItemSelect = ({ selected={selected} disabled={disabled} hovered={hovered} + role="option" + aria-selected={selected} > {selected && } diff --git a/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelectAvatar.tsx b/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelectAvatar.tsx index 4df9e280084b..cbc748e1f99f 100644 --- a/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelectAvatar.tsx +++ b/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelectAvatar.tsx @@ -40,6 +40,9 @@ export const MenuItemSelectAvatar = ({ disabled={disabled} hovered={hovered} data-testid={testId} + role="option" + aria-selected={selected} + aria-disabled={disabled} > {avatar}