From fc1b4d7fa7b4ce262b17df5ceabeb0ab8255592e Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Thu, 10 Apr 2025 19:32:12 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84(frontend)=20replace=20recording=20?= =?UTF-8?q?side=20panel=20title=20with=20proper=20header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update recording side panel to use semantic header element instead of plain text. Improves accessibility by providing proper document structure and enhances visual hierarchy in the user interface. --- .../recording/components/ScreenRecordingSidePanel.tsx | 10 +++++++--- .../recording/components/TranscriptSidePanel.tsx | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx b/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx index 44c7a0e0..b947fa46 100644 --- a/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx +++ b/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx @@ -1,4 +1,4 @@ -import { A, Button, Div, Text } from '@/primitives' +import { A, Button, Div, H, Text } from '@/primitives' import fourthSlide from '@/assets/intro-slider/4_record.png' import { css } from '@/styled-system/css' @@ -106,7 +106,9 @@ export const ScreenRecordingSidePanel = () => { {isScreenRecordingStarted ? ( <> - {t('stop.heading')} + + {t('stop.heading')} + { ) : ( <> - {t('start.heading')} + + {t('start.heading')} + { <> {isTranscriptStarted ? ( <> - {t('stop.heading')} + + {t('stop.heading')} + { ) : ( <> - {t('start.heading')} + + {t('start.heading')} +