fix(a11y): close cross-app interaction gaps
CI and Deploy / test (pull_request) Successful in 4m54s
CI and Deploy / deploy (pull_request) Has been skipped

This commit is contained in:
cesnimda
2026-08-15 17:49:42 +02:00
parent deed948183
commit a7c25499bb
23 changed files with 224 additions and 61 deletions
@@ -317,17 +317,17 @@ export default function Attachments({ jobId }: { jobId: number }) {
<TableCell>
<Box sx={{ display: "flex", gap: 0.5, flex: "0 0 auto" }}>
{canPreview ? (
<IconButton size="small" onClick={() => void openPreview(a)} title={t("attachmentsPreview")}>
<IconButton size="small" onClick={() => void openPreview(a)} title={t("attachmentsPreview")} aria-label={`${t("attachmentsPreview")}: ${a.fileName}`}>
<VisibilityOutlinedIcon fontSize="small" />
</IconButton>
) : null}
<IconButton size="small" onClick={() => void download(a)} title={t("attachmentsDownload")}>
<IconButton size="small" onClick={() => void download(a)} title={t("attachmentsDownload")} aria-label={`${t("attachmentsDownload")}: ${a.fileName}`}>
<DownloadIcon fontSize="small" />
</IconButton>
<IconButton size="small" onClick={() => void rename(a)} title={t("attachmentsRename")}>
<IconButton size="small" onClick={() => void rename(a)} title={t("attachmentsRename")} aria-label={`${t("attachmentsRename")}: ${a.fileName}`}>
<DriveFileRenameOutlineIcon fontSize="small" />
</IconButton>
<IconButton size="small" onClick={() => void remove(a)} title={t("attachmentsDelete")}>
<IconButton size="small" onClick={() => void remove(a)} title={t("attachmentsDelete")} aria-label={`${t("attachmentsDelete")}: ${a.fileName}`}>
<DeleteOutlineIcon fontSize="small" />
</IconButton>
</Box>