Skip to content

Commit

Permalink
Fix option text reading in Firefox
Browse files Browse the repository at this point in the history
Turned out section, section, section NVDA was reading
because of aria-owns
  • Loading branch information
mendrew committed Aug 19, 2024
1 parent 5d502a9 commit 2608468
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/vkui/src/components/CustomSelect/CustomSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,6 @@ export function CustomSelect<OptionInterfaceT extends CustomSelectOptionInterfac
const selectInputAriaProps: React.HTMLAttributes<HTMLElement> = {
'role': 'combobox',
'aria-controls': popupAriaId,
'aria-owns': popupAriaId,
'aria-expanded': opened,
['aria-activedescendant']:
ariaActiveDescendantId && opened ? `${popupAriaId}-${ariaActiveDescendantId}` : undefined,
Expand Down

0 comments on commit 2608468

Please sign in to comment.