fix: react-doctor control-has-associated-label 48→19 (toggles, empty th, action menus)

This commit is contained in:
Nora
2026-06-26 04:53:05 -06:00
parent cad6d64eee
commit df7b65531a
19 changed files with 30 additions and 25 deletions
@@ -124,7 +124,7 @@ export default function LotCreateModal({ isOpen, onClose, brandId }: Props) {
<p className="text-sm" style={{ color: "var(--admin-text-muted)" }}>Quick entry scan or fill in the fields below</p>
</div>
</div>
<button type="button"
<button type="button" aria-label="Close"
onClick={onClose}
className="flex h-9 w-9 items-center justify-center rounded-xl border transition-colors hover:bg-stone-50"
style={{ borderColor: "var(--admin-border)" }}
+1 -1
View File
@@ -318,7 +318,7 @@ export default function LotListTable({
{h}
</th>
))}
<th className="px-5 py-3.5" />
<th className="px-5 py-3.5" aria-label="Actions" />
</tr>
</thead>
<tbody>
@@ -249,6 +249,7 @@ export default function QRScanModal({ onClose, onScanResult }: QRScanModalProps)
<>
<video
ref={videoRef}
aria-label="QR code scanner camera feed"
className="w-full h-full object-cover"
playsInline
muted