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

There is no functionality provided to adjust columns width which is achievable using single pointer: A11y_.NET CoreWinforms_ Data Binding Example for controls_DraggingMovement #11433

Closed
PoojaNamde opened this issue May 28, 2024 · 13 comments
Assignees
Labels
A11y-WCAG2.2 a11yMAS High Priority - Accessibility violation of Microsoft Accessibility Standards area-Controls-DataGridView area-Controls-ListView tenet-accessibility MAS violation, UIA issue; problems with accessibility standards

Comments

@PoojaNamde
Copy link

PoojaNamde commented May 28, 2024

.NET version

dotnet-sdk-9.0.100-preview.5.24258.1

Did it work in .NET Framework?

Yes

Did it work in any of the earlier releases of .NET Core or .NET 5+?

No response

Issue description

Please do not close this bug. This bug should only be closed by Trusted Tester after verification.

GitHub Tags:

#A11yMAS; #A11yTCS; #A11ySev2; #BM_.NET Core[Winforms]_Win32_May2024; #.NETCore; #WCAG2.5.7; #A11yWCAG2.2#DesktopApp; #Win11; #FTP;

Environment Details:

App name: .NET Core Winforms
Window Version: Win 11
OS Build: 22621.3085

Repro Steps:

  1. Launch the "Accessibility core app".
  2. Main Form screen would appear.
  3. TAB to "DataBinding Example" and hit ENTER key.
  4. "Data Binding Example for controls" screen would appear.
  5. TAB to "List view" and "Grid" present.
  6. Observe that There is no functionality provided to adjust columns width which is achievable using single pointer

Actual Result:

There is no functionality provided to adjust columns width which is achievable using single pointer.

Similar issue is observed in throughout the application for column width.

Expected Result:

There should be functionality provided to adjust columns width which is achievable using single pointer.

User Impact:

If the drag and drop functionality is not performing as expected on controls within a user interface, it can hamper user experience. Users may resort to alternative methods to achieve their goals; this increases the cognitive load and effort required to complete tasks.

Attachment

11433_A11y_.NET.CoreWinforms_.Data.Binding.Example.for.controls_DraggingMovement.mp4
@PoojaNamde PoojaNamde added the untriaged The team needs to look at this issue in the next triage label May 28, 2024
@elachlan elachlan added tenet-accessibility MAS violation, UIA issue; problems with accessibility standards area-Controls-DataGridView a11yMAS High Priority - Accessibility violation of Microsoft Accessibility Standards labels May 28, 2024
@Olina-Zhang
Copy link
Member

For DataGridView: we can use Alt + Left/Right arrow to narrows/expands width of dataGridView cell, but ListView cannot.

@merriemcgaw
Copy link
Member

merriemcgaw commented May 30, 2024

@PoojaNamde can your team please mark this for closure. You can find the information about navigating with the WinForms DataGridView here

I'll label all ready for closure as A11y-resolved.

@merriemcgaw merriemcgaw added a11y-resolved Ready for official tester to validate and close and removed untriaged The team needs to look at this issue in the next triage labels May 30, 2024
@Yash14j
Copy link

Yash14j commented May 31, 2024

Github Tags:#Rev:yaja;

@PoojaNamde
Copy link
Author

@merriemcgaw Providing keyboard equivalence for a dragging operation does not meet this Success Criterion. there should be single pointer available. for ex -
Fluent UI - Controls - React - DetailsList - Keyboard Column Reorder & Resize (microsoft.com)

@merriemcgaw
Copy link
Member

I see. I need to talk to SMEs to see what we can or should do here for this older control.

@merriemcgaw merriemcgaw added untriaged The team needs to look at this issue in the next triage and removed a11y-resolved Ready for official tester to validate and close labels Jun 4, 2024
@merriemcgaw merriemcgaw added A11y-WCAG2.2 waiting-on-team This work item needs to be discussed with team or is waiting on team action in order to proceed labels Jun 12, 2024
@merriemcgaw merriemcgaw self-assigned this Jun 12, 2024
@merriemcgaw
Copy link
Member

Office Hours determined that we should demonstrate on one DGV that this can be done via existing properties, but that it is not on the library to directly enable it. It is one the developer using the library to implement a solution.

@Olina-Zhang can your team implement a menu item that changes the size of a DGV column. You can do it on this DGV and for a couple columns only, this is just to show that it can be done.

@Olina-Zhang
Copy link
Member

@merriemcgaw I added two menu items to change the size of DGV column and ListView column as following. Is that okay?

ChangeColumnSize.mp4

@merriemcgaw
Copy link
Member

merriemcgaw commented Jun 18, 2024

I believe as long as they work properly, this should be sufficient for us from a UI library perspective. When ready, you can assign it to @PoojaNamde to verify that the functionality works, and we should be able to close this. @PoojaNamde talk with me offline if you have questions.

@merriemcgaw merriemcgaw removed waiting-on-team This work item needs to be discussed with team or is waiting on team action in order to proceed untriaged The team needs to look at this issue in the next triage labels Jun 18, 2024
@Olina-Zhang
Copy link
Member

@PoojaNamde have updated and uploaded that app, please test it again. Thanks!

@PoojaNamde
Copy link
Author

@Olina-Zhang I have downloaded the latest template, but I am not able to see the 2 menus newly added in template. Please find the below screenshot for reference.

image

@Olina-Zhang
Copy link
Member

@PoojaNamde it should be as following, can you check again using the updated one?
image

@PoojaNamde
Copy link
Author

@Olina-Zhang Reverified this issue in the latest env, here the fix is incomplete. With the buttons provided we are only able to adjust the width of 1st column and not for the others. Please find the more ways to fix this issue.

A non-exhaustive list of techniques to pass this requirement is below.

  1. In a table which can be rearranged by dragging columns, allow the order of data to be set in a separate “edit table” dialog.
  2. Allow a user to type values in an input field next to a volume slider, or include clickable arrows at either end.
  3. Include context menu options which can be accessed via right click.

It should be noted that the requirement says that functionality must be available with a single pointer. It says nothing about needing to use the same component for both drag and non-drag methods of operation.

@PoojaNamde
Copy link
Author

As per discussion with Ahmed, added two sample menu items to change the size of DGV column and List View column. Closing this bug. Please find below screenshot for reference.

image

#Closed; #Regressed:08-09-24;

@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A11y-WCAG2.2 a11yMAS High Priority - Accessibility violation of Microsoft Accessibility Standards area-Controls-DataGridView area-Controls-ListView tenet-accessibility MAS violation, UIA issue; problems with accessibility standards
Projects
None yet
Development

No branches or pull requests

5 participants