[Dynamic Page]: Accessibility tag 'banner "Header Expanded"' is always shown regardless corresponding functionality visible or not
Describe the bug
'banner "Header Expanded"' always exists in the accessibility tree view:
Isolated Example
https://stackblitz.com/edit/github-tpkahmsi?file=src%2FApp.tsx
Reproduction steps
- Use the link with an isolated example https://stackblitz.com/edit/github-tpkahmsi?file=src%2FApp.tsx or you can even open a ui5-webcomponents-react sampler.
- Open Developer Tools -> Accessibility -> Switch to Accessibility Tree View
- Observe current behavior. 'banner "Header Expanded"' is shown
Expected Behaviour
'banner "Header Expanded"' is not shown since we do not have any "expand/collapse" related functionality
As an example, we can use sapui5 sampler: https://sapui5.hana.ondemand.com/#/entity/sap.f.DynamicPage/sample/sap.f.sample.DynamicPageAnalyticalTable/code
with the following header:
<f:title>
<f:DynamicPageTitle>
<f:heading>
<Title text="Header Title"/>
</f:heading>
<f:actions>
<Button text="Edit" type="Emphasized" />
</f:actions>
</f:DynamicPageTitle>
</f:title>
Screenshots or Videos
No response
UI5 Web Components for React Version
2.10.0
UI5 Web Components Version
2.10.0
Browser
Chrome
Operating System
The bug is reproduced on all platforms
Additional Context
No response
Relevant log output
Organization
No response
Declaration
- [x] I’m not disclosing any internal or sensitive information.
Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.
Affected Accessibility checkpoint: ACC-246.1 - Level A
Hello @SAP/ui5-webcomponents-topic-p,
Could you please take a look?
Regards, Nayden
This issue has been closed. To reopen, just leave a comment!
Hi Team, Currently we are in 2.10.0 version, Looks like fix is not available in 2.10.0 is it possible to to downport the fix to 2.10.0?
Hi @Harshithaharsh,
Thanks for checking in. The fix is included starting from UI5 Web Components version 2.12.0, and you can find it in the release notes here.
We’d recommend upgrading to 2.12.0 or later to benefit from this fix. If there’s anything blocking the upgrade, feel free to share—we’d be happy to help.
Best regards, Nikola
Hello,
I’m closing this issue now. If you have any further questions or need help, feel free to reopen it. Thanks!
Best regards, Nikola
This issue has been closed. To reopen, just leave a comment!