♿️(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:
@@ -14,3 +14,4 @@ and this project adheres to
|
|||||||
- ♿️(frontend) hover controls, focus, SR #803
|
- ♿️(frontend) hover controls, focus, SR #803
|
||||||
- ♿️(frontend) change ptt keybinding from space to v #813
|
- ♿️(frontend) change ptt keybinding from space to v #813
|
||||||
- ♿(frontend) indicate external link opens in new window on feedback #816
|
- ♿(frontend) indicate external link opens in new window on feedback #816
|
||||||
|
- ♿(frontend) fix heading level in modal to maintain semantic hierarchy #815
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ export const InviteDialog = (props: Omit<DialogProps, 'title'>) => {
|
|||||||
gap={0}
|
gap={0}
|
||||||
style={{ maxWidth: '100%', overflow: 'hidden' }}
|
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')}
|
{t('heading')}
|
||||||
</Heading>
|
</Heading>
|
||||||
<Div position="absolute" top="5" right="5">
|
<Div position="absolute" top="5" right="5">
|
||||||
|
|||||||
Reference in New Issue
Block a user