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

[DynamicPage]: SR announcing "Expanded Header" even if we don't have expanded and collapsable header content in DynamicPage header

Open Harshithaharsh opened this issue 1 year ago • 7 comments

Bug Description

We have observed that in the DynamicPage component, the Expanded Header region is present in the accessibility tree even when there is no expanded content in the DynamicPage Header section. We are looking for an attribute or a configuration option that can be used to remove or hide this region when the expanded content is not available.

I have attached the screen recording to get insights of the issue mentioned. We have only Title and Full Screen button in the Dynamic Header Section. And a11y team has an concern for screen reader reading "Header Expanded" as there is not content button or toggle to switch between Expandable and Collapsable content in the Dynamic Page Header.

Actual page in Application where it announce Header Expanded when focus goes into Full Screen Icon Button.

Image

Image

https://github.com/user-attachments/assets/c216f3c6-38a7-40a0-afdb-a08436b5d260

Affected Component

No response

Expected Behaviour

An expanded header region should not be defined if there is no corresponding expanded content.

Isolated Example

https://github.com/user-attachments/assets/c216f3c6-38a7-40a0-afdb-a08436b5d260

Steps to Reproduce

  1. Go To Dynamic Page Component in https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/layouts-floorplans-dynamicpage--docs
  2. Remove all the information expect Title and action bar buttons.
  3. Turn on Screen Reader, using keyboard bring focus to First interactive element in Dynamic Header Section ie, Full Screen Button and see what screen reader announces. ...

Log Output, Stack Trace or Screenshots

https://github.com/user-attachments/assets/8bde7850-6349-4441-a652-5e20aede3d6b

Image

Priority

Medium

UI5 Web Components Version

2.10.1

Browser

Chrome

Operating System

No response

Additional Context

Continuation of https://github.com/SAP/ui5-webcomponents/issues/10927

Organization

No response

Declaration

  • [x] I’m not disclosing any internal or sensitive information.

Harshithaharsh avatar Jun 06 '25 07:06 Harshithaharsh

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

This issue is duplicate with https://github.com/SAP/ui5-webcomponents/issues/11570 In testing the PR https://github.com/SAP/ui5-webcomponents/pull/11626 for fixing the existing issue fixes this one as well.

The reporter is using 2.10.1, so can you check if downport to 2.10 is an option?

kineticjs avatar Jun 06 '25 09:06 kineticjs

Hello,

This issue should be fixed with the fix of this one: https://github.com/SAP/ui5-webcomponents/issues/11570

Regards, Plamen

plamenivanov91 avatar Jun 19 '25 11:06 plamenivanov91

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

github-actions[bot] avatar Jun 19 '25 11:06 github-actions[bot]

Hi @plamenivanov91 @kineticjs , 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

Currently we are in 2.10.0 version, updating WC version to 2.10.1 will fix the issue?

Harshithaharsh avatar Jul 31 '25 09:07 Harshithaharsh

Hello @Harshithaharsh ,

We are sorry to inform you that such down-port is not possible.

Please update your UI5 web components version to 2.12 or newer in order to consume the fix.

Regards, Plamen Ivanov

plamenivanov91 avatar Oct 03 '25 13:10 plamenivanov91

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

github-actions[bot] avatar Oct 03 '25 13:10 github-actions[bot]