fix(cv): make template sample scrolling keyboard accessible

This commit is contained in:
cesnimda
2026-10-26 04:27:35 +01:00
parent 61f412bb27
commit 3150351221
3 changed files with 7 additions and 1 deletions
@@ -41,7 +41,7 @@ export default function CvTemplatePreviewDialog({ theme, onClose, onApply }: Pro
return <Dialog open onClose={onClose} fullWidth maxWidth="md" aria-labelledby={`${id}-title`} aria-describedby={`${id}-help`}>
<DialogTitle id={`${id}-title`}>{t("cvEditorPreviewDesign")} · {labels.name}</DialogTitle>
<DialogContent dividers>
<DialogContent dividers role="region" tabIndex={0} aria-label={t("cvEditorTemplateSampleTitle")}>
<Stack spacing={1.5}>
<Typography id={`${id}-help`} variant="body2" color="text.secondary">{t("cvEditorTemplateSampleHelp")}</Typography>
<Typography variant="body2">{labels.description}</Typography>