WinUI-Gallery icon indicating copy to clipboard operation
WinUI-Gallery copied to clipboard

A11Y: WebView2 Sample is completely inaccessible with all the screen readers

Open akash07k opened this issue 3 years ago • 1 comments

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:

  1. Go to 'Start menu'
  2. Search for "XAML Controls Gallery or WinUI3 Controls Gallery (Either of the app should be installed)
  3. As soon as the app opens up, search for WebView2 and click the search result. Now navigate via tab inside the WebView2 Sample.
  4. Observe with any Screen reader, nothing will be read out.
  5. Now press arrow keys to read the web content.
  6. Observe, the situation is still same.
  7. Try to close the app via Alt+F4.
  8. App won't close.
  9. Please see the attached app too for demo.

Expected behavior

  1. WebView2/Sample should be accessible and all the web content should be read by the screen reader.
  2. 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

Scarlett.zip

akash07k avatar Apr 03 '22 15:04 akash07k

Thanks for filing this bug @akash07k. We are currently looking into solving this issue. I'll close this issue when this is fixed.

gregwoo-microsoft avatar Apr 09 '22 00:04 gregwoo-microsoft