microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.55k stars 29.4k forks source link

The table format isn’t captured in the accessible view: A11y_Visual Studio Code Client_Usability #230888

Open AnKushSingh05 opened 1 month ago

AnKushSingh05 commented 1 month ago

GitHub Tags:

A11yTCS; #A11ySev4; #Visual Studio Code Client; #BM_Visual Studio Code Client_Win32_JULY2024; #DesktopApp; #FTP; #A11yUsablehigh; #Win32; #Benchmark;

Environment and OS details:

Application Name: Visual Studio Code OS: Windows 11 version 23H2 OS built: 22631.4169. Version: 1.95.0-insider (user setup) OS Build: 26100.1742 Version: 24H2

Reproduction Steps:

  1. Open Visual studio code insider editor.
  2. Tab till copilot chat and ask copilot to generate Arg query for Indian region accounts
  3. Press Alt + F2 to view accessible view.
  4. Observed that the table format isn’t captured in the accessible view.

Actual Result:

For some screen reader users, GitHub copilot’s accessible view is an integral tool and Table format is not communicated in that experience

Expected Result:

This requires technical explorations to either introduce further formatting options in the accessible view. Also consider exploring allowing users to open content in a web view when they’ve requested HTML components.

User Impact:

Users were unaware that a table could be generated and instead ended up asking for HTML code to put into a web view experience.

Attachment: https://microsoft.sharepoint.com/:p:/t/FableEngagement/EcCC6L78IhNDmx5ABbNLJnMBCa0Yomng6xSCIYtpaqOF2Q?e=gM4Vpy&nav=eyJzSWQiOjEzOTcsImNJZCI6Mjg0ODc5MTQxOX0 Image

meganrogge commented 1 month ago

We can indicate the number of tables, if any, in the chat response's aria label similar to what we do for code blocks so a user is aware.

The accessible view is meant to be a flat rendering of just the text content by design. A user can navigate the table in the chat response if they want to.