From 0139d188725f5a3d504c638084bc83f0dc94e592 Mon Sep 17 00:00:00 2001 From: KabootarGod Date: Fri, 3 Apr 2026 02:57:03 +0530 Subject: [PATCH 1/4] Added Aria Labels for buttons Added aria-label for buttons in CollectionTable.jsx and DatabaseSidebar.jsx files --- apps/web-dashboard/src/components/CollectionTable.jsx | 4 ++++ apps/web-dashboard/src/components/DatabaseSidebar.jsx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/apps/web-dashboard/src/components/CollectionTable.jsx b/apps/web-dashboard/src/components/CollectionTable.jsx index 03db79fd..cf06bb61 100644 --- a/apps/web-dashboard/src/components/CollectionTable.jsx +++ b/apps/web-dashboard/src/components/CollectionTable.jsx @@ -181,6 +181,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi className="btn-icon" onClick={() => onView(info.row.original)} onPointerDown={e => e.stopPropagation()} + aria-label="View Details" title="View Details" > @@ -189,6 +190,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi className="btn-icon" onClick={() => onEdit(info.row.original)} onPointerDown={e => e.stopPropagation()} + aria-label="Edit Column" title="Edit" > @@ -197,6 +199,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi className="btn-icon danger-hover" onClick={() => onDelete(info.row.original._id)} onPointerDown={e => e.stopPropagation()} + aria-label="Delete Column" title="Delete" > @@ -361,6 +364,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
), @@ -364,7 +364,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
{showColumnMenu && ( @@ -560,6 +560,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi value={scrollState.scrollLeft} onChange={handleSliderChange} onInput={handleSliderChange} + aria-label="Scroll table horizontally" style={{ width: '100%', cursor: 'ew-resize' }} className="column-slider" /> diff --git a/apps/web-dashboard/src/components/DatabaseSidebar.jsx b/apps/web-dashboard/src/components/DatabaseSidebar.jsx index 2ca7ca95..b3169510 100644 --- a/apps/web-dashboard/src/components/DatabaseSidebar.jsx +++ b/apps/web-dashboard/src/components/DatabaseSidebar.jsx @@ -30,18 +30,18 @@ export default function DatabaseSidebar({
@@ -52,7 +52,7 @@ export default function DatabaseSidebar({

No collections yet.

From 6acfc4affb746e5584b833ca9caae3087f4138f5 Mon Sep 17 00:00:00 2001 From: KabootarGod Date: Sat, 4 Apr 2026 19:30:33 +0530 Subject: [PATCH 4/4] Fix 2 for PR 76 - Removed aria-hidden="true" --- apps/web-dashboard/src/components/CollectionTable.jsx | 8 ++++---- apps/web-dashboard/src/components/DatabaseSidebar.jsx | 4 ++-- apps/web-dashboard/src/components/RecordList.jsx | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/web-dashboard/src/components/CollectionTable.jsx b/apps/web-dashboard/src/components/CollectionTable.jsx index e25313f0..dbee0cc8 100644 --- a/apps/web-dashboard/src/components/CollectionTable.jsx +++ b/apps/web-dashboard/src/components/CollectionTable.jsx @@ -184,7 +184,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi aria-label="View Details" title="View Details" > -