Skip to content

bug(MatSelect): NVDA announce 'table' when select options opened  #21480

Closed

Description

@exlnik

When opening mat-select element NVDA screen reader announce table before announcing the list.

Reproduction

See the official example from material documentation.

Steps to reproduce:

  1. Click on the mat-select
  2. When the options opened NVDA announce table and then list.

Expected Behavior

table should not be announced.

More details

  • This is a new issue. In Material V10 it's Ok. (checked also in the documentation of v10)
  • Faced it with NVDA
  • Happened in Chrome, not in Firefox.

Environment

  • Angular: V11
  • CDK/Material: V11
  • Browser(s): Chrome
  • Screen reader: NVDA

Activity

  1. added
    needs triage
    on Dec 30, 2020
  2. nirkai commented on Dec 30, 2020

    @nirkai

    Form what I can see it cause by the addition of the aria-owns mentioned here and implemented there.

  3. crisbeto commented on Jan 4, 2021

    @crisbeto
    Member

    I can reproduce it as well. I think that @nirkai is correct, because I get the following structure in the "Accessibility" panel in the dev tools:

    Angular_Material_-_Google_Chrome_2021-01-04_14-31-32

    The LayoutTable from the screenshot points to .mat-select-trigger. While the element is a div, it has some CSS that is display: inline-table. I wonder whether that's not throwing the browser off?

  4. added
    Accessibility
    P3
    and removed
    needs triage
    on Jan 4, 2021
  5. nirkai commented on Jan 4, 2021

    @nirkai

    @crisbeto it is indeed.
    If you remove that style it's gone from the Accessibility panel

  6. added a commit that references this issue on Jan 5, 2021
    ba898fc
  7. self-assigned this
    on Jan 5, 2021
  8. added 2 commits that reference this issue on Aug 25, 2021
    dd43363
    51474d0
  9. added 2 commits that reference this issue on Mar 16, 2022
    0276784
    240b238
  10. added a commit that references this issue on Apr 3, 2022
    d82d809
  11. angular-automatic-lock-bot commented on Apr 16, 2022

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  12. locked and limited conversation to collaborators on Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AccessibilityP3area: material/select

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions