Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 of 19 tasks
akash07k opened this issue Apr 3, 2022 · 7 comments
Closed
3 of 19 tasks
Labels
accessibility Narrator, keyboarding, UIA, etc area-WebView team-Controls Issue for the Controls team

Comments

@akash07k
Copy link

akash07k commented Apr 3, 2022

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.)
  • 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:

  • 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:

  • Desktop
  • Mobile
  • Xbox
  • Surface Hub
  • IoT
WebView2.Issue.mp4

Scarlett.zip

@gregwoo-microsoft
Copy link

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

@bpulliam bpulliam added the accessibility Narrator, keyboarding, UIA, etc label Oct 12, 2022
@karkarl karkarl transferred this issue from microsoft/WinUI-Gallery Jan 18, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jan 18, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@akash07k
Copy link
Author

No, not at all.
It is not related

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@akash07k
Copy link
Author

Any update @gregwoo-microsoft

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
Copy link

@akash07k thanks for following up. I'll defer to @karkarl who might have more insights on the progress made here.

@bpulliam bpulliam added area-WebView team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Jan 22, 2024
@ranjeshj
Copy link
Contributor

@akash07k does this still repro with latest WinAppSDK ? There are several fixes in this space over the past year. The Alt+f4 issue is a known issue.

@bkudiess
Copy link
Contributor

bkudiess commented Feb 5, 2024

Does not repro in current version, webview is accessible by screen readers. Alt+F4 not working is a core webview issue tracked outside of this repo (MicrosoftEdge/WebView2Feedback#2961)

@bkudiess bkudiess closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Narrator, keyboarding, UIA, etc area-WebView team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

5 participants