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

[Dynamic Page]: Accessibility tag 'banner "Header Expanded"' is always shown regardless corresponding functionality visible or not

Open anatoliySAP opened this issue 1 year ago • 8 comments

Describe the bug

'banner "Header Expanded"' always exists in the accessibility tree view:

Image

Isolated Example

https://stackblitz.com/edit/github-tpkahmsi?file=src%2FApp.tsx

Reproduction steps

  1. 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.
  2. Open Developer Tools -> Accessibility -> Switch to Accessibility Tree View
  3. 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>

Image

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.

anatoliySAP avatar May 22 '25 12:05 anatoliySAP

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.

Lukas742 avatar May 22 '25 12:05 Lukas742

Affected Accessibility checkpoint: ACC-246.1 - Level A

kasarabtanya avatar May 22 '25 12:05 kasarabtanya

Hello @SAP/ui5-webcomponents-topic-p,

Could you please take a look?

Regards, Nayden

nnaydenow avatar May 22 '25 13:05 nnaydenow

This issue has been closed. To reopen, just leave a comment!

github-actions[bot] avatar Jun 13 '25 12:06 github-actions[bot]

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?

Harshithaharsh avatar Jul 31 '25 05:07 Harshithaharsh

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

NakataCode avatar Aug 04 '25 11:08 NakataCode

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

NakataCode avatar Aug 20 '25 11:08 NakataCode

This issue has been closed. To reopen, just leave a comment!

github-actions[bot] avatar Aug 20 '25 11:08 github-actions[bot]