Skip to content

Accessibility features on md-select #5220

Closed

Description

@tandyc

Bug, feature request, or proposal:

upon focusing on md-select with value already selected, the selected value is not read by screen readers. (tested using NVDA on IE and Chrome)

What is the expected behavior?

The selected item should be read upon focusing on the md-select

What is the current behavior?

The placeholder is read, followed by "list" on NVDA. On Apple VoiceOver, the results are similar. Instead of reading the selection, VoiceOver reads "no selection" even when an item is selected.

What are the steps to reproduce?

http://plnkr.co/edit/Fco0OOHNfmp1sXdp5vu3?p=preview

  • Select an item in the md-select
  • Using a screen reader (I'm using NVDA), focus on the md-select using the keyboard (tab key)
  • Observe that what is read is the placeholder followed by "list". The selected option is not read.

NVDA is available for free here: https://www.nvaccess.org/download/

What is the use-case or motivation for changing an existing behavior?

To provide an equal level of accessibility as native select elements.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

This should be browser agnostic for the most part, but various screen readers will likely read the element different.

Is there anything else we should know?

The easiest way to resolve this issue is probably to add the selected item to the aria-label that currently exists on the md-select tab. It already has the field label... adding the selected item should satisfy the critera. Example (based on the above plunk) aria-label="Favorite Food" changes to aria-label="Favorite Food - Tacos Selected"

Activity

  1. added
    Accessibility
    P2
    on Jun 20, 2017
  2. M-a-c commented on Dec 7, 2017

    @M-a-c
    Contributor

    @josephperrott
    @crisbeto
    Any update on this ticket?

  3. frkfir commented on Mar 12, 2018

    @frkfir

    Any update about this issue?
    Thanks!

  4. jelbourn commented on Apr 30, 2018

    @jelbourn
    Contributor

    Tracking via #11083

  5. angular-automatic-lock-bot commented on Sep 8, 2019

    @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.

  6. locked and limited conversation to collaborators on Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AccessibilityP2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions