-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SF_ACC Successfactors: ui5-responsive-popover has A11y issue for mobile web #2787
Comments
Hello @mydavidzhang can you provide the exact markup so we can recreate your set up and look for those DOM elements and what they potentially miss. I can see that there are some ui5-title, ui5-button in the test, which might nothing to do with the ui5-responsive-popover itself. In order to investigate these errors we will need the markup to see what you are testing, for <ui5-responsive-popover>
<div slot="header">
<ui5-title>Hello World</ui5-title>
</div>
<div>
<ui5-label>Email: </ui5-label>
</div>
<div slot="footer">
<ui5-button>Subscribe</ui5-button>
</div>
</ui5-responsive-popover> |
Thanks @ilhan007, |
Hello @SAP/ui5-webcomponents-topic-rd could you investigate the following ACC errors, related to the ResponsivePopover (and Dialog): On mobile, the ResponsivePopover renders Dialog and displays Title and Button in header that causes some errors. If no headerText is provided, the Title (can be found in the ResponsivePopover.hbs) remains empty and it causes this error
Same goes for the title rendered in the Dialog.hbs
Also, having h2 and then h5 seems to violate another ACC rule
The button (rendered in ResponsivePopover.hbs) seems not not have accessible name
|
Hi @mydavidzhang |
- When the header-text attribute is not provided, the Dialog (on mobile) does not render an empty title element - header-text attribute results in a title with level H2 - Added aria-label to the "Close dialog" button Fixes: #2787
Describe the bug
When ui5-responsive-popover is mobile web mode it has A11y issue in unit test case
To reproduce
Steps to reproduce the behavior:
Create unit test for ui5-responsive-popover
Expected behavior
No A11y issue
Context
Affected components
ui5-responsive-popove
Organization:
Successfactors
Priority:
High because block unit tests.
The text was updated successfully, but these errors were encountered: