fix(cv): make template sample scrolling keyboard accessible
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user