Skip to content

fix(ui5-dynamic-page): expand header when focus enters title area while snapped#13809

Open
NakataCode wants to merge 1 commit into
mainfrom
dynamic-page-shift-tab-expand
Open

fix(ui5-dynamic-page): expand header when focus enters title area while snapped#13809
NakataCode wants to merge 1 commit into
mainfrom
dynamic-page-shift-tab-expand

Conversation

@NakataCode

@NakataCode NakataCode commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

When a DynamicPage header is snapped and the user Shift+Tabs backward into the title area, the header now automatically expands, making header content visible to keyboard and screen reader users.

Implementation

Adds an onTitleAreaFocusIn(e: FocusEvent) handler wired to the ui5-dynamic-page-title-header-wrapper via onFocusIn.

Guards prevent expansion when:

  • No header area exists
  • Header is already expanded
  • Header is pinned
  • Header is in sticky-area mode
  • Focus arrived on the DynamicPageHeaderActions expand button itself (to avoid a double-toggle when the user then activates the button)

Fixes: #13778

@NakataCode NakataCode temporarily deployed to netlify-preview July 10, 2026 10:40 — with GitHub Actions Inactive
@sap-ui5-webcomponents-release

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DynamicPage]: Header does not expand when focus moves to title area via Shift+Tab

1 participant