️(frontend) fix heading level in modal to maintain semantic hierarchy

replaced h3 with h2 for accessibility and proper document structure
This commit is contained in:
Cyril
2025-12-17 09:58:11 +01:00
parent 309ce0989d
commit fcb89c520e
2 changed files with 2 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ export const InviteDialog = (props: Omit<DialogProps, 'title'>) => {
gap={0}
style={{ maxWidth: '100%', overflow: 'hidden' }}
>
<Heading slot="title" level={3} className={text({ variant: 'h2' })}>
<Heading slot="title" level={2} className={text({ variant: 'h2' })}>
{t('heading')}
</Heading>
<Div position="absolute" top="5" right="5">