[Accessibility] ContextualMenu: Narrator Reads 'Menu' Twice when User Activates ContextualMenu
Bug Report
- Package version(s): 5.97.1
- Browser and OS versions: Narrator on Edge
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? No
Requested priority: Normal
Products/sites affected: OneDrive Web
Describe the issue:
Open a ContextualMenu on Edge with Narrator active.
Actual behavior:
Narrator announces 'Menu' twice.
Expected behavior:
Narrator announces 'Menu' once.
If applicable, please provide a codepen repro:
N.A.
Worth noting that this only repro's in Edge when you CLICK on the contextual menu button. It is by design that focus should go to the entire container in this situation (for keyboarding, focus should go to the first menu item), but it is not by design that "menu menu" or "aria label aria label" is read twice. Without looking too much into it, I suspect this is an easy fix of checking if the contextual menu container that is given focus also has an aria label on it. Please make sure when it is fixed that you test w/ aria-labels on the menu as a whole to ensure that those are still read.
This issue has been automatically marked as stale because it has not activity for 60 days. It will be closed if no further activity occurs within 14 days of this comment. Thank you for your contributions to Fabric React! Why am I receiving this notification?
This issue has been automatically closed because it has not had recent activity after being marked as stale. If you belive this issue is still a problem or should be reopened, please reopen it! Thank you for your contributions to Fabric React! Why am I receiving this notification?