CarouselView items are focusable #12271
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
platform/android 🤖
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
When using a CarouselView, the item container appears to be focusable when 'tabbing' through items. You can observe in the video that the entire item view turns 'gray' as it receives focus and tabbing again moves to the button.
The item view should not be focusable by default and setting
AutomationProperties.IsInAccessibleTree="False"
on the layout(s) inside the item template has no effect.On android it appears that the
SizedItemContentView
container view is what receives focus, and probably needs to have Focusable=False set on it by default, or at least propagate up the focus value set on the immediate item within the template.CarouselViewItemsFocusableRepro.mp4
Steps to Reproduce
Open the repro project, run it, use tab to focus between items.
Link to public reproduction project repository
https://github.com/Redth/MauiIssueRepros/tree/main/CarouselView/CarouselViewFocus12271
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows
Affected platform versions
All
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: