Skip to content

Commit 60faf04

Browse files
authored
fix(SelectDialog): adjust heading level to h1 (#7594)
Fixes #7568
1 parent 4e2fffe commit 60faf04

File tree

1 file changed

+5
-1
lines changed
  • packages/main/src/components/SelectDialog

1 file changed

+5
-1
lines changed

packages/main/src/components/SelectDialog/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import ButtonDesign from '@ui5/webcomponents/dist/types/ButtonDesign.js';
44
import IconMode from '@ui5/webcomponents/dist/types/IconMode.js';
55
import InputType from '@ui5/webcomponents/dist/types/InputType.js';
66
import ListSelectionMode from '@ui5/webcomponents/dist/types/ListSelectionMode.js';
7+
import TitleLevel from '@ui5/webcomponents/dist/types/TitleLevel.js';
78
import iconSearch from '@ui5/webcomponents-icons/dist/search.js';
89
import { enrichEventWithDetails, useI18nBundle, useStylesheet, useSyncRef } from '@ui5/webcomponents-react-base';
910
import { clsx } from 'clsx';
@@ -306,7 +307,10 @@ const SelectDialog = forwardRef<DialogDomRef, SelectDialogPropTypes>((props, ref
306307
{i18nBundle.getText(CLEAR)}
307308
</Button>
308309
)}
309-
<Title className={clsx(classNames.title, headerTextAlignCenter && classNames.titleCenterAlign)}>
310+
<Title
311+
className={clsx(classNames.title, headerTextAlignCenter && classNames.titleCenterAlign)}
312+
level={TitleLevel.H1}
313+
>
310314
{headerText}
311315
</Title>
312316
{showClearButton && (

0 commit comments

Comments
 (0)