fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Screen reader does not announce role of button in CommandBar

Open rachelgshaffer opened this issue 5 years ago • 5 comments

Environment Information

  • Package version(s): 8.22.0
  • Browser and OS versions: Chrome 91.0.4472.106, JAWS 2021

Describe the issue:

When using a screen reader, the role is not announced for buttons in a CommandBar component

Please provide a reproduction of the issue in a codepen:

This is present in the Fluent samples here: https://fabricweb.z5.web.core.windows.net/oufr/8.22.1/#/examples/commandbar

Actual behavior:

Announced like "New 1 of 7", "Upload 2 of 7"

Expected behavior:

"New menu item 1 of 7", "Upload menu item 2 of 7"

Documentation describing expected behavior

MAS reference 04.01.02: Name, Role, Value Ensure that Assistive Technologies (AT) can gather information about, activate (or set) and keep up to date on the status of user interface controls in the content. For any product, service, tool or content, functionality and navigation of the content and user interface (UI) components must be programmatically exposed and operable.

rachelgshaffer avatar Jul 07 '21 22:07 rachelgshaffer

@rachelgshaffer can you please include some information on the screen reader(s) that you've tested where this issue occurs ?

ling1726 avatar Jul 08 '21 08:07 ling1726

@smhigley I unfortunately don't have JAWs but the issue will repro with NVDA. However in NVDA this is by by design according to nvaccess/nvda#8654

I couldn't find a similar argument in JAWs issues, hoping you can shed some light on JAWs here.

ling1726 avatar Jul 09 '21 07:07 ling1726

Apologies for not including that information. I tested with Chrome + JAW. The accessibility bug opened against my team had the comment "This issue also exists with Firefox + NVDA & Edge(Chromium) + Narrator."

rachelgshaffer avatar Jul 09 '21 16:07 rachelgshaffer

NVDA seems to consider this behaviour as by design according to the issue I linked: nvaccess/nvda#8654

However, I can't find any similar statements for other screen readers, will need to defer to @smhigley's expertise on this one I'm afraid

ling1726 avatar Jul 12 '21 12:07 ling1726

Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes.

Still require assistance? Please, create a new issue with up-to date details.

msft-fluent-ui-bot avatar Jul 13 '22 13:07 msft-fluent-ui-bot