You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Combobox: keyboard navigation overwrites aria-selected on options, breaking MultiSelect #9205
I have verified that I use latest version of all @mantine/* packages
What version of @mantine/* packages do you have in package.json?
8.3.18 (also reproduced on 9.6.1 in the sandbox)
What package has an issue?
@mantine/core
What framework do you use?
Other, I will specify in the bug description
In which browsers you can reproduce the issue?
All
Describe the bug
useCombobox uses aria-selected to track the keyboard highlight. That clashes with options that use aria-selected for the picked state, which OptionsDropdown does (aria-selected={checked}). So in MultiSelect, arrowing through the list changes which options are reported as selected:
the highlighted option gets aria-selected="true", even if it isn't picked
when the highlight moves on, aria-selected is removed completely, even from picked options
Expected: ID and Total stay true and Tax stays false the whole time. The highlight is already exposed through aria-activedescendant on the input, which is set correctly.
Screen reader
There's a screen recording here of me using voiceover. "Bananas" is the only item that is selected throughout the video. Note that whenever I navigate to an item with keyboard arrows, "Selected" is read out by voiceover, when I hover over the same items, "Selected" is not read out.
The expected behaviour would be:
"Bananas" has "Selected" read out whenever hovering OR navigating with keyboard
React never puts it back because the checked prop hasn't changed, so the DOM stays wrong until that option re-renders for some other reason.
Context
Found this in Metabase, where we render a Combobox with checkbox rows in an aria-multiselectable listbox, and it happens there too. We build with Rspack (hence "Other"), but the repro doesn't depend on the framework. Possibly related to #8638, although that one didn't have a specific repro.
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
No response
Self-service
I would be willing to implement a fix for this issue
Activity
[@mantine/core] Combobox: Fix incorrect `aria-selected` setting on up…
github-actions commentedon Sep 21, 2026
Fixed in 9.6.2