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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ilhan007
Copy link
Member

@ilhan007 ilhan007 commented Apr 22, 2025

  • introduce headerLevel API (similar to Panel and others) for customizing the aria-levels of Form and FormGroup headings according to the use-case.
  • update default aria-levels of the Form and FormGroup from 3 and 6 to 4 and 5 respectively, as by accessibility standards heading levels must be sequential
  • update font-size of the FormGroup heading (from H5 to H6) to to match the latest design

Fixes: #11371

TODO: accessibility expert to confirm the default values

@ilhan007 ilhan007 requested a review from nnaydenow April 25, 2025 07:32
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.

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