A11Y: WebView2 Sample is completely inaccessible with all the screen readers
Describe the bug
The WebView2 example in both (XAML Controls Gallery and WinUI3 Controls Gallery) is completely inaccessible with all the screen readers. Steps to reproduce the bug
Steps to reproduce the behavior:
- Go to 'Start menu'
- Search for "XAML Controls Gallery or WinUI3 Controls Gallery (Either of the app should be installed)
- As soon as the app opens up, search for WebView2 and click the search result. Now navigate via tab inside the WebView2 Sample.
- Observe with any Screen reader, nothing will be read out.
- Now press arrow keys to read the web content.
- Observe, the situation is still same.
- Try to close the app via Alt+F4.
- App won't close.
- Please see the attached app too for demo.
Expected behavior
- WebView2/Sample should be accessible and all the web content should be read by the screen reader.
- We should be able to close the app/window via Alt+F4 Actual behavior
As soon as we tab inside the WebView2 control, our focus gets trapped, screen reader doesn't read anything via tab or arrow keys and we are unable to close the app with Alt+F4. Screenshots
Version Info
-
[ ] Xaml Controls Gallery - Downloaded from Store
- If so, which version? (1.2.x -- Found on the Settings page of the app.)
-
[x] WinUI 3 Controls Gallery - Downloaded from Store
- If so, which version? (1.3.x -- Found on the Settings page of the app.) Microsoft.WinUI3ControlsGallery version 1.3.10.0
-
[ ] App built locally from source
- If so, which branch? (WinUI 3 versions are built off the winui3 branch)
Additional context
Windows version:
- [x] Insider Build (22581)
- [ ] May 2021 Update (19043)
- [ ] October 2020 Update (19042)
- [ ] May 2020 Update (19041)
- [ ] November 2019 Update (18363)
- [ ] May 2019 Update (18362)
- [ ] October 2018 Update (17763)
- [ ] April 2018 Update (17134)
- [ ] Fall Creators Update (16299)
- [ ] Creators Update (15063)
- [ ] Anniversary Update (14393)
Device form factor:
- [x] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT
https://user-images.githubusercontent.com/6381747/161434117-343681bc-a6f4-4c79-a19d-0d443842ab71.mp4
Thanks for filing this bug @akash07k. We are currently looking into solving this issue. I'll close this issue when this is fixed.