[autocomplete] `disabled` item can be highlighted
Open
component: autocomplete
- Dominant language
- TypeScript
- Stars
- 10.9k
- Forks
- 543
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 101
Description
# Bug report
## Current behavior
A `disabled` Autocomplete Item can be focused/highlighted using keyboard and pointer events and ends up with the `data-highlighted` attribute.
```jsx
Test
```
## Expected behavior
The disabled items should not be interactive and shouldn't have `data-highlighted` attribute.
## Reproducible example
https://stackblitz.com/edit/2fydq8ct?file=src%2FApp.tsx
## Base UI version
v1.4.1
## Which browser are you using?
Chrome
## Which OS are you using?
Mac OS
## Which assistive tech are you using (if applicable)?
Not applicable
## Additional context
None
Contributor guide
Assessment
This issue has not been assessed yet.