microsoft / vscode

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

Configurable Position for Accessibility-Related Text Notifications in Code Editor #204258

Open ramoncorominas opened 9 months ago

ramoncorominas commented 9 months ago

Type: Feature Request

In the Visual Studio Code editor, the position of the accessibility-related text notifications is fixed and is always read after the actual line text. This becomes problematic when the line contains a large amount of text, rendering the notification almost useless for screen reader users.

A feature to configure the order of the text notification, allowing it to be read before the line text, would greatly enhance the usability of the editor for screen reader users.

VS Code version: Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937, 2024-01-31T10:28:19.990Z) OS version: Windows_NT x64 10.0.19045 Modes:

akash07k commented 9 months ago

+1

meganrogge commented 9 months ago

By "text notification" I think you mean the accessibility.alert IE error on line etc?

Initially, I had been using alert for these such that it would be read before the line content. The issue is that alert overrides the content, oftentimes resulting in the line's content not getting read.

Thus, I moved over to using status instead.

cc @rperez030 and @jooyoungseo for thoughts