ui5-webcomponents
ui5-webcomponents copied to clipboard
[SF][a11y][ui5-popover]: ui5 popover component inside shellbar role should be menu with menu items
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/
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
- navigate to https://sap.github.io/ui5-webcomponents/components/fiori/ShellBar/#profile-area
- click on the profile button to show popover
- 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.
Hello @ui5-webcomponents-topic-p,
I am forwarding this issue to you, please check the reported issue.
Best Regards, Nikolay Hristov UI5 WebC Dispatcher