Skip to content

About Title level #2134

@alex-zhang

Description

@alex-zhang

hi,

we use the title component in our component message-box.

I set title level to 2 for a11y. but the UX told me, i make the wrong font size.

image

but if i set the title level to 5, i got the correct font-size it will cause the a11y issue. (a11y should from h1 to h2, not h5 directly)

so i also to check the ui5 source code. i found that the message-box in ui5, also the tile component. but here it use the TitleLevel.Auto which has the h2 tag and the correct font-size.

https://sapui5.hana.ondemand.com/#/api/sap.ui.core.TitleLevel

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions