Accessibility issues in segmented controls.
Describe the bug
Screen Readers don't announce important information when SegmentedControls are used. They are
- Position in set
- SizeOfSet
- IsSelected
Regression
No response
Reproducible in sample app?
- [ ] This bug can be reproduced in the sample app.
Steps to reproduce
1. Clone the devhome repo at www.github.com/microsoft/devhome
2. Click on "Maching Configuration" in the nav bar
3. Click on "Clone Repositories"
4. Click on "Add Repositories"
5. Tab on the segmented control.
Keep in mind I added the PositionInSet and SizeOfSet automation properties. Without these the screen reader is incorrect.
Expected behavior
When tabbing over the account tab, the screen reader should say "Account, 1 of 2" When tabbing over the URL tab the screen reader should say "URL, 1 of 2, selected"
Screenshots
No response
Windows Build Number
- [ ] Windows 10 1809 (Build 17763)
- [ ] Windows 10 1903 (Build 18362)
- [ ] Windows 10 1909 (Build 18363)
- [ ] Windows 10 2004 (Build 19041)
- [ ] Windows 10 20H2 (Build 19042)
- [ ] Windows 10 21H1 (Build 19043)
- [X] Windows 11 21H2 (Build 22000)
- [ ] Other (specify)
Other Windows Build number
No response
App minimum and target SDK version
- [ ] Windows 10, version 1809 (Build 17763)
- [ ] Windows 10, version 1903 (Build 18362)
- [ ] Windows 10, version 1909 (Build 18363)
- [ ] Windows 10, version 2004 (Build 19041)
- [ ] Other (specify)
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Nuget packages
No response
Additional context
No response
Help us help you
No.
Hello dhoehna, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.