-
Notifications
You must be signed in to change notification settings - Fork 601
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
Adding comments in a review should be accessible #1930
Comments
Any progress on this? At least having an action that the user can then bind to their keystroke of choice would be very much appreciated. Of course the ideal situation is that these actions would be already pre-configured with dedicated keystrokes. |
hello. do you plan to work on this? since I cannot leave multi-line comments through the github interface, I would like to do this at least through vsCode. |
There is a The screen reader feedback about which lines are commentable is missing |
Oh wow, thank you for this comment <3. I was pulling my hair out for the last half hour trying to figure out what I was doing wrong. What @RMacfarlane is mentioning is what I am understanding as leaving a Pull Request comment, which is an idiom I've understood for quite some time: In a PR, in the files changed tab, the + and - icons, when clicked trigger a form box to leave comments. I'd consider this to be the etymology of the concept, backed up by this doc: In VSCode/github.dev, when I pull up the keyboard shortcuts and search for "Pull Request Comment" I have the following returned: "GitHub Pull Requests: Add Comment" -- Without any additional context, I am guessing this is what I want to do: I am in a PR, and I want to leave a comment on a line. Whether it's in a conversation or in a file is a context switch that I haven't anticipated. In actuality, this is to leave a PR comment in the PR conversation, which is a view that didn't load by default for me on github.dev. Triggering the shortcut returns an empty javascript error and the console logs nothing of use to breadcrumb me towards where the element the keyboard shortcut is triggering. The JS console is less helpful. Chrome reports that this shortcut trigger is some sort of violation of a touchstart event: Next search, let's look for "Line Comment": Oooh, here we go. This is promising. And logically makes sense to my 🧠 . The docs say "Line Comment" and these are also "Line Comments." When I open the PR diff, I'm in an editor, so this looks like it could be right. Incorrect. This time, github.dev/VSCode reports this shortcut is simply unknown, and because the error has been handled, the console doesn't report any additional information that could help. 30 minutes of struggling with github.dev and searching the web, I come across this thread, and the solution against an unresolved issue. Side note: I couldn't find a repository for github.dev issues. SInce this extension is built directly into github.dev it wasn't clear if I needed to open an issue against the customized vscode instance that is github.dev, or this repo, which I found through happenstance. |
We're still lacking screen reader feedback that a comment can be added on the current line, but other accessibility updates were added a few months ago: https://code.visualstudio.com/updates/v1_66#_comment-accessibility-improvements |
When an editor is opened we now give an aria status that the editor has commenting ranges. |
The text was updated successfully, but these errors were encountered: