Skip to content

feat(ui5-form, ui5-form-group): add headerLevel property #11372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 7, 2025

Conversation

ilhan007
Copy link
Member

@ilhan007 ilhan007 commented Apr 22, 2025

New APIs:

  • introduce headerLevel API (similar to Panel and others) for customizing the aria-levels of Form and FormGroup headings according to the use-case with default values of 2 for the Form and 3 for the FormGroup.
  • introduce accessibleName API to allow defining a unique accessible name of the Form, especially when used without a header or when multiple forms are used (as the aria-label should be unique and even if we set built-in one, the tools would complain that the role+accessible name combination isn't unique).

Minor visual change:

  • update font-size of the FormGroup heading (from H5 to H6) to to match the latest design

Fixes: #11371

@ilhan007 ilhan007 requested a review from nnaydenow April 25, 2025 07:32
@ilhan007 ilhan007 merged commit e70ffa6 into main May 7, 2025
12 checks passed
@ui5-webcomponents-bot
Copy link
Collaborator

🎉 This PR is included in version v2.10.0 🎉

The release is available on v2.10.0

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FormGroup]: Skipped Heading Levels Between Section and FormGroup Titles
3 participants