ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[SF][a11y][ui5-popover]: ui5 popover component inside shellbar role should be menu with menu items

Open lormanlau1 opened this issue 10 months ago • 1 comments

Bug Description

Using the popover component inside the shellbar appears to look more like a menu/menuitem but is assigned the role of dialog. https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/examples/menu-button-actions/ Screenshot 2024-04-22 at 2 56 44 PM

Affected Component

ui5-popover & ui5-shellbar

Expected Behaviour

The ask is change role of dialog to role of menu and make the list items inside role of menuitem. https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/examples/menu-button-actions/

Isolated Example

https://sap.github.io/ui5-webcomponents/components/fiori/ShellBar/#profile-area

Steps to Reproduce

  1. navigate to https://sap.github.io/ui5-webcomponents/components/fiori/ShellBar/#profile-area
  2. click on the profile button to show popover
  3. observe that the popover has the role dialog

Log Output, Stack Trace or Screenshots

No response

Priority

Medium

UI5 Web Components Version

1.24.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

SAP SuccessFactors

Declaration

  • [X] I’m not disclosing any internal or sensitive information.

lormanlau1 avatar Apr 22 '24 22:04 lormanlau1

Hello @ui5-webcomponents-topic-p,

I am forwarding this issue to you, please check the reported issue.

Best Regards, Nikolay Hristov UI5 WebC Dispatcher

NHristov-sap avatar Apr 23 '24 06:04 NHristov-sap