Skip to content

Screen readers report incorrect position/size of virtualized Command Palette menu items #444

Closed

Description

@jayspadie

monaco-editor version: 0.8.3
Browser: Any
OS: Windows 10

During accessibility testing, it was found that the virtualized lists such as that in the Command Palette (F1) will make screen readers report an incorrect total count based on the actual DOM elements currently rendered. For example, the screenshot below of NVDA and Firefox initially includes a total count of 12 until keyboarding past the bottom item (Delete All Right). Also, I am not sure what "Level 1" for each item refers to.

Perhaps aria-setsize and aria-posinset could be used to correct it.

image

Activity

  1. alexdima commented on Jun 2, 2017

    @alexdima
    Member

    This might be a Firefox specific issue

  2. bpasero commented on Jun 2, 2017

    @bpasero

    I was not aware of these aria rules and I think we should set them. I created microsoft/vscode#27900 because I think this should happen on the tree/list level.

    However, I am not getting the wrong values being read when I try with NVDA on Chrome, so it may be browser dependent.

  3. jayspadie commented on Jun 2, 2017

    @jayspadie
    Author

    From what I've seen, NVDA with Firefox does a "better" job of announcing "x of y" for lists of items (tabs, menu items, lists, etc.), while this is typically not announced when using Chrome. NVDA with Firefox is generally considered to follow the ARIA specs better than with Chrome, as I understand it. Assuming Chrome continues to improve support for screen readers, I would expect it to behave the same someday. So, I wouldn't really consider this to be a bug with Firefox.

  4. added this to the milestone on Jun 7, 2017
  5. alexdima commented on Jun 20, 2017

    @alexdima
    Member

    fyi Chris Dias (@chrisdias) Jay Spadie (@jayspadie)

    There has been an investigation and discussions regarding this in microsoft/vscode#27900 and it doesn't look like it will make it in this release.

  6. isidorn commented on Jun 21, 2017

    @isidorn
  7. locked and limited conversation to collaborators on Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions