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] Property Editor drop down value pickers are sometimes hard to use with keyboard and screen reader #12182

Open
towebo opened this issue Sep 19, 2024 · 4 comments
Assignees
Labels
a11yMAS High Priority - Accessibility violation of Microsoft Accessibility Standards

Comments

@towebo
Copy link

towebo commented Sep 19, 2024

Environment

VisualStudio.17.Preview/17.11.0-pre.5.0+35118.90

.NET version

8.0

Did this work in a previous version of Visual Studio and/or previous .NET release?

No

Issue description

If you use the keyboard to edit property values in the Property Editor and you need to select a predefined value from a drop down you sometimes get an error message.

Steps to reproduce

  1. Start a screen reader such as Narrator, NVDA or JAWS.
  2. Start Visual Studio and create a new WinForms application.
  3. Open the form and add a DataGridView to it.
  4. Press Esc to get rid of the task window.
  5. Press F4 to go to the Property Editor.
  6. Navigate to the ColumnHeadersHeightSizeModethe behavior for adjusting the column headers height. nivå 1 property.
  7. Use Alt + Down arrow to open the drop down list to choose a property value.
  8. Use the up and down arrows to move between the different values in the list.
  9. You can also try to press F4 instead of Alt + Down arrow to open the editor for the particular property type.

Diagnostics

No response

@towebo towebo added the untriaged The team needs to look at this issue in the next triage label Sep 19, 2024
@Tanya-Solyanik Tanya-Solyanik added the area-VSDesigner Windows Forms out-of-proc designer related issues label Sep 24, 2024
@Tanya-Solyanik
Copy link
Member

@Olina-Zhang - could you please investigate if this is dependent on the screen reader? And if it reproduces with the mouse.

@Nora-Zhou01
Copy link
Member

When the ColumnHeadersHeightSizeMode property is selected using the keyboard, narrator does not display the currently selected property, as shown below:
1

9.0.mp4

When selected with the mouse narrator displays the wrong current property, as shown below:
2

mouse.mp4

@merriemcgaw merriemcgaw added a11yMAS High Priority - Accessibility violation of Microsoft Accessibility Standards and removed area-VSDesigner Windows Forms out-of-proc designer related issues untriaged The team needs to look at this issue in the next triage labels Oct 22, 2024
@merriemcgaw
Copy link
Member

This is absolutely something we are looking into both for the .NET 10 runtime experience and the Visual Studio design time experience. The VS stuff runs on .NET Framework, so there are limitations potentially to what we can do.

@towebo
Copy link
Author

towebo commented Oct 24, 2024

Oh, .NET Framework? Whell, then it's just a matter of fixing things and release .NET Framework 4.8.2...
Even if it would be preferable to fix a11y in .NET Framework this case must be so rare that you can count them on your team's fingers.

One workaround could be to detect if a screen reader is running and change behavior for the drop down property editor when pressing F4 so it shows a dialog containing a listbox with the property values, an OK and a Cancel button.
I understand that you'd rather fix the underlying problem but I'm all for workarounds when you'll never get ROI. The most important is to get the job done so the compiled aplication looks and feels as expected. You can revisit this when VS runs on the latest .NET where you've fixed the a11y bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11yMAS High Priority - Accessibility violation of Microsoft Accessibility Standards
Projects
None yet
Development

No branches or pull requests

5 participants