setAnchorEl(null)}
anchorOrigin={{ vertical: "bottom", horizontal: "left" }}
onClick={(e) => e.stopPropagation()}
- slotProps={{ paper: { className: "rounded-lg border border-border p-2" } }}
+ slotProps={{
+ paper: {
+ className: "rounded-lg border border-border p-2",
+ role: "dialog",
+ "aria-label": "Choose flag color",
+ },
+ }}
>
- {FLAG_COLORS.map((c) => (
-
+ );
+ })}
- Clear flag
+ Clear flag
>
diff --git a/src/app/(protected)/workorders/_components/list/table/wo-table-cols.ts b/src/app/(protected)/workorders/_components/list/table/wo-table-cols.ts
index 12194252..96b1caa2 100644
--- a/src/app/(protected)/workorders/_components/list/table/wo-table-cols.ts
+++ b/src/app/(protected)/workorders/_components/list/table/wo-table-cols.ts
@@ -1,6 +1,6 @@
export const WO_TABLE_COLS = [
{ key: "grip", label: "", w: 28 },
- { key: "flag", label: "", w: 28 },
+ { key: "flag", label: "", srLabel: "Flag", w: 28 },
{ key: "site", label: "SITE", w: 168 },
{ key: "wo", label: "WO", w: 120 },
{ key: "type", label: "TYPE OF WO", w: 108 },
diff --git a/src/app/(protected)/workorders/_components/list/table/wo-table-head.tsx b/src/app/(protected)/workorders/_components/list/table/wo-table-head.tsx
index 36309923..c490f17e 100644
--- a/src/app/(protected)/workorders/_components/list/table/wo-table-head.tsx
+++ b/src/app/(protected)/workorders/_components/list/table/wo-table-head.tsx
@@ -4,27 +4,32 @@ export function WoTableHead() {
return (