Skip to content

A11Y: Make message history accessible in VS Code #12331

@paul-geoghegan

Description

@paul-geoghegan

Before submitting your bug report

Relevant environment info

- OS: Ubuntu
- Continue version: Any
- IDE version:
- Model:
- config:
  

  
  OR link to agent in Continue hub:

Description

The message history is currently not accessible for screen readers. I will provide a list of the needed fixes:

  • Currently it doesn't seem to be in the tab order. This can probably be done by adding a tabindex to each individual message. If the messages are rendered as HTML then only the parent container may need a tabindex as you should be able to navigate a html view with ease if each message has a corisponding heading etc,
  • The surounding container needs an aria label like "message history" or similar,
  • Any code blocks with buttons for actions need to probably have an aria label or a different roll to distinguish them and their corisponding buttons need to be labeled and should be accessible via tab,
  • If possible hook in to the VS Code native chat interface so that settings that allow for progress updates etc to be convayed to screen readers are respected.
    It's possible that this is not an exaustive list but it would be a great start.

To reproduce

  1. turn on a screen reader e.g. windows: control+windows+enter, linux: super+alt+s.
  2. Open VS Code,
  3. Open the continue chat with control+i
  4. Notice the inaccessible chat history.

Log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:chatRelates to chat interfaceide:vscodeRelates specifically to VS Code extensionkind:enhancementIndicates a new feature request, imrovement, or extension

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions