Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

General keyboard shortcuts #19021

Closed
1 of 8 tasks
Tracked by #19023
quinnkeast opened this issue Mar 10, 2021 · 6 comments
Closed
1 of 8 tasks
Tracked by #19023

General keyboard shortcuts #19021

quinnkeast opened this issue Mar 10, 2021 · 6 comments
Assignees
Labels
accessibility a11y / accessibility feature Tracking issues for a feature shortcuts team/code-search Issues owned by the code search team

Comments

@quinnkeast
Copy link
Contributor

quinnkeast commented Mar 10, 2021

This is the implementation issue for RFC 345: Keyboard navigation in Sourcegraph.

Figma – Keyboard navigation underpinnings audit

Next steps from @felixfbecker:

  • Resolve open comments in the RFC, in particular:
    • Alignment with established accessibility concepts (landmark areas and widgets, vs "navigation areas" and "application areas")
  • Audit the main screens of the app (blob view, search results). I suggest creating a Figma for this with screenshots we can overlay with rectangles and annotations.
    • Highlight the landmark areas and which keyboard shortcuts we want to use for jumping to them.
    • Highlight widgets that currently do not have standard keyboard controls (e.g. file tree, revision selector) and what ARIA widget we want to implement (which has standardized corresponding keyboard controls)
    • Highlight special areas that are not widgets, but where we want to implement additional keyboard controls regardless (e.g. jumping between search results)
  • Implement shortcuts, including user settings to override them and events to track whether they are used
  • Think about how to educate users of these shortcuts. It would probably be useful to have a similar visual for the different areas as the one from the above step that we can include in the app/docs for the user for education.
    • Keyboard shortcut quick-help
    • Docs page
@quinnkeast quinnkeast added accessibility a11y / accessibility frontend-platform Issues related to our frontend platform, owned collectively by our frontend crew. RFC-345 labels Mar 10, 2021
@github-actions
Copy link
Contributor

Heads up @AlicjaSuska @felixfbecker @umpox @valerybugakov @5h1rU @pdubroy - the "team/frontend-platform" label was applied to this issue.

@quinnkeast quinnkeast changed the title Implement initial keyboard shortcuts Investigate implementing initial keyboard shortcuts Mar 11, 2021
@quinnkeast quinnkeast assigned umpox and unassigned AlicjaSuska Mar 11, 2021
@pdubroy pdubroy added the needs-more-info Issues that need more information from the submitter. label Jun 29, 2021
@pdubroy
Copy link
Contributor

pdubroy commented Jun 29, 2021

Based on https://docs.google.com/document/d/1_r8aikiE-zwn0ZkWmOilynNVA3HfmF9Mglgg6ZEkkls/edit?disco=AAAAH93ixxE I don't know if we have everything we need to write this RFC yet.

@pdubroy pdubroy moved this to Needs input in Frontend Platform Nov 15, 2021
@pdubroy pdubroy moved this from Needs input to Not planned in Frontend Platform Nov 19, 2021
@taylorsperry taylorsperry moved this from Not planned to Backlog in Frontend Platform Dec 1, 2021
@umpox umpox removed their assignment Jul 26, 2022
@umpox
Copy link
Contributor

umpox commented Jul 26, 2022

Just for further context:

We've prioritised accessibility a lot lately, and I think it would be wise to re-review this RFC once we have finished our efforts in https://github.com/sourcegraph/sourcegraph/issues/31476.

Reasoning: We've made our application accessible with basic, built-in, keyboard shortcuts. This RFC focuses more on "power users". That is good, but there is also a lot of additional nuance that we need to account for the ensure these shortcuts are still accessible.

Some aspects, like changing how tab or arrow keys behave, might not be complaint with our accessibility standards

@felixfbecker felixfbecker added team/code-exploration Issues owned by the Code Exploration team feature Tracking issues for a feature and removed sourcegraph-refinement-bot labels Nov 16, 2022
@felixfbecker
Copy link
Contributor

felixfbecker commented Nov 22, 2022

@quinnkeast Here's what I think are the next steps:

  1. Resolve open comments in the RFC, in particular:
    • Alignment with established accessibility concepts (landmark areas and widgets, vs "navigation areas" and "application areas")
  2. Audit the main screens of the app (blob view, search results). I suggest creating a Figma for this with screenshots we can overlay with rectangles and annotations.
    • Highlight the landmark areas and which keyboard shortcuts we want to use for jumping to them.
    • Highlight widgets that currently do not have standard keyboard controls (e.g. file tree, revision selector) and what ARIA widget we want to implement (which has standardized corresponding keyboard controls)
    • Highlight special areas that are not widgets, but where we want to implement additional keyboard controls regardless (e.g. jumping between search results)
  3. Implement shortcuts, including user settings to override them and events to track whether they are used
  4. Think about how to educate users of these shortcuts. It would probably be useful to have a similar visual for the different areas as the one from the above step that we can include in the app/docs for the user for education.
    • Keyboard shortcut quick-help
    • Docs page

@felixfbecker felixfbecker removed the frontend-platform Issues related to our frontend platform, owned collectively by our frontend crew. label Nov 22, 2022
@quinnkeast quinnkeast self-assigned this Nov 23, 2022
@quinnkeast
Copy link
Contributor Author

quinnkeast commented Nov 23, 2022

I agree with all of these steps. I'll self-assign this issue and review #1 on your list, then follow up on #2 soon.

@quinnkeast
Copy link
Contributor Author

Updates:

  • I've revised the RFC based on comments and further thinking.
  • I'm going to use this Figma file to audit the main screens of the app based on the latest revision of the proposal.

@felixfbecker felixfbecker changed the title Investigate implementing initial keyboard shortcuts General keyboard shortcuts Nov 29, 2022
@fkling fkling added team/code-search Issues owned by the code search team imported Label for marking issues that have been imported from another team and removed team/code-exploration Issues owned by the Code Exploration team labels Feb 22, 2024
@mmanela mmanela added the Migrated label May 6, 2024 — with Linear
@eseliger eseliger removed the Migrated label May 21, 2024
@camdencheek camdencheek removed needs-more-info Issues that need more information from the submitter. imported Label for marking issues that have been imported from another team RFC-345 labels May 23, 2024
@camdencheek camdencheek added the shortcuts label Jun 26, 2024 — with Linear
@linear linear bot assigned camdencheek and unassigned taras-yemets Jun 26, 2024
@camdencheek camdencheek closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Frontend Platform Jun 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accessibility a11y / accessibility feature Tracking issues for a feature shortcuts team/code-search Issues owned by the code search team
Projects
No open projects
Status: Done
Development

No branches or pull requests