mui / mui/material-ui

[menu] SRs initially not announcing first menuItem in a menu

Open
#19,688 4 comments 2 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

accessibility scope: menu
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

  • [ X ] The issue is present in the latest release.
  • [ X ] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

When the user opens a menu, the screen reader does not announce the focussed/first item within the menu.

Expected Behavior 🤔

Once a user opens a menu, the first menuItem that is focussed should be announced by the screen reader.

Steps to Reproduce 🕹

https://codesandbox.io/s/mui-icon-button-menu-gomtg

Steps:

With the relevant screen readers enabled:

  1. Tab to the Icon Button
  2. Press Space or Enter to Open the menu
  3. Once opened, notice that the first item in the list does not get announced by the relevant screen readers

Context 🔦

It would be great if the relevant screen readers could announce the text of the first menu item once the menu is opened.

Your Environment 🌎

Tech Version
OS windows 8, 10
Material-UI v4.7.0
React v16.12.0
Browser Chrome
Screenreader Jaws, ChromeVox

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.