You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Component title generates element<header aria-expanded="true"> (probably this is because of capability described in docs
"The header works in two modes - expanded and snapped and its behavior can be adjusted with the help of different properties.") DynamicPage
However the use of "aria-expanded" doesn't conform to W3C recommendation. The main spec suggests implicit use of ARIA "banner" role which doesn't make use of "aria-expanded" attribute.
The issue affects accessibility checkpoint ACC-264.1
Isolated Example
No response
Reproduction steps
Screen flow:
Inspect <header> element rendered in example from docs .
Automation (AMP) Test:
• Run amp tool [accessibility management platform]
• Domain: https://sap.levelaccess.net
• Username: your sap email address and the password that you have set
• Go to toolbox>download chrome extension
• Once it is installed> open the plugin
• Login : enter your amp instance to get started
• Amp url: sap.levelaccess.net
• Username: your sap email address and the password that you have set
• Create an asset>create a new report>test current page
Expected Behaviour
When ARIA attributes (state, roles, and properties) are not used correctly assistive technology may not correctly function as expected. Valid ARIA markup should be used.
The internal Screen Reader specification suggests to "add aria-expanded=”true/false” to the header element" for DynamicPage. The issue status will be updated after internal consultation.
So the proposal is to remove the aria-expanded attribute and instead add role="banner", (listed as recommended role for header elements when not nested under certain other elements), correct?
Thank you for proposing an enhancement, but could you elaborate a bit further on the benefit for such a change, given that:
The documentation describes the role="banner" as A landmark that contains mostly site-oriented content, rather than page-specific content.
At the same time, we cannot presume that the DynamicPage is the topmost container, e.g. it can be inside a FlexibleColumnLayout, so the default role of its header may not be specific to the entire site, but of the page's content only.
After testing the proposed changes with JAWS, I do not detect a difference in the speech output, which for our experts is the final decision mark, given that the currently used aria-expanded attribute is not deprecated.
While your proposal in general makes sense for site-level headers, I need to collect a bit more evidence of its applicability for DynamicPage in particular, before forwarding this enhancement proposal to the DynamicPage team.
Describe the bug
Component title generates element<header aria-expanded="true"> (probably this is because of capability described in docs
"The header works in two modes - expanded and snapped and its behavior can be adjusted with the help of different properties.")
DynamicPage
However the use of "aria-expanded" doesn't conform to W3C recommendation. The main spec suggests implicit use of ARIA "banner" role which doesn't make use of "aria-expanded" attribute.
The issue affects accessibility checkpoint ACC-264.1
Isolated Example
No response
Reproduction steps
Screen flow:
Inspect
<header>
element rendered in example from docs .Automation (AMP) Test:
• Run amp tool [accessibility management platform]
• Domain: https://sap.levelaccess.net
• Username: your sap email address and the password that you have set
• Go to toolbox>download chrome extension
• Once it is installed> open the plugin
• Login : enter your amp instance to get started
• Amp url: sap.levelaccess.net
• Username: your sap email address and the password that you have set
• Create an asset>create a new report>test current page
Expected Behaviour
When ARIA attributes (state, roles, and properties) are not used correctly assistive technology may not correctly function as expected. Valid ARIA markup should be used.
Screenshots or Videos
UI5 Web Components for React Version
2.10.0
UI5 Web Components Version
2.10.0
Browser
Chrome
Operating System
Windows 11 Enterprise
Additional Context
Initially raised in OMSA application: https://jira.tools.sap/browse/OMS-16433
Relevant log output
Organization
No response
Declaration
The text was updated successfully, but these errors were encountered: