SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.47k stars 254 forks source link

[SF][A11y][ui5-card-header]: Need customize heading level #8697

Open i323808 opened 3 months ago

i323808 commented 3 months ago

Bug Description

The heading level is hard-coded as level 3. We need customize the heading level according to the heading hierarchy of the whole page. For instance, the card title level should be 4 instead of 3 on our page.

card_header_level

Affected Component

No response

Expected Behaviour

The heading level of CardHeader is supposed to be configurable.

Isolated Example

No response

Steps to Reproduce

1. 2. 3. ...

Log Output, Stack Trace or Screenshots

No response

Priority

Medium

UI5 Web Components Version

1.24.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

niyap commented 2 months ago

Hello @SAP/ui5-webcomponents-topic-rd,

Could you please check that feature request? The reporter wants a customisable card header title level in order to achieve desired hierarchy of his whole application without duplicate levels as well as jumps between them.

Thank you in advance!

Kind Regards, Niya