fix: correct HTML syntax and improve accessibility in various components

This commit is contained in:
2026-04-28 09:36:16 -05:00
committed by Kevin_Ramirez
parent 8535fdf5cc
commit 30f915eecf
5 changed files with 7 additions and 5 deletions

View File

@@ -1244,7 +1244,7 @@
<div class="relative h-1.5 w-full overflow-hidden rounded-full bg-muted/70">
<div
class="csv-upload-indeterminate-bar absolute top-0 h-full w-2/5 rounded-full bg-primary"
/>
></div>
</div>
{:else}
<Progress

View File

@@ -137,8 +137,8 @@ const canOpenAcuse = $derived(selectedItem?.status === 'success' && !!selectedIt
selectedIds = [...selectedIds, item.id];
}
function handleSelectedIdsChange(ids: number[]) {
selectedIds = ids;
function handleSelectedIdsChange(ids: (string | number)[]) {
selectedIds = ids.map((id) => (typeof id === 'number' ? id : Number(id)));
}
async function handleDigitalizar(item: ExpedienteArchivo) {
@@ -530,6 +530,7 @@ async function handleDownloadArtifact(
<div class="mx-auto max-w-[1400px] px-4 py-4">
<div
role="toolbar"
tabindex="0"
aria-label="Acciones de digitalización"
data-digitalizacion-footer-toolbar
class="flex w-full items-center justify-end gap-2"

View File

@@ -46,6 +46,7 @@
let showDelete = $state(false);
let showDetails = $state(false);
const columns = createColumns();
// --- Lifecycle ---

View File

@@ -774,7 +774,7 @@
onsubmit={(e) => {
e.preventDefault();
handleSubmit();
}
}}
class="space-y-6 pb-48"
>
<Card.Root>

View File

@@ -85,7 +85,7 @@
onsubmit={(e) => {
e.preventDefault();
handleSubmit();
}
}}
class="space-y-6"
>
{#if error}