Skip to content

Commit 6acfc4a

Browse files
Fix 2 for PR 76
- Removed aria-hidden="true"
1 parent 1af988c commit 6acfc4a

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

apps/web-dashboard/src/components/CollectionTable.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
184184
aria-label="View Details"
185185
title="View Details"
186186
>
187-
<Eye size={15} aria-hidden="true" />
187+
<Eye size={15} />
188188
</button>
189189
<button
190190
className="btn-icon"
@@ -193,7 +193,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
193193
aria-label="Edit Record"
194194
title="Edit"
195195
>
196-
<Pencil size={15} aria-hidden="true" />
196+
<Pencil size={15} />
197197
</button>
198198
<button
199199
className="btn-icon danger-hover"
@@ -202,7 +202,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
202202
aria-label="Delete Record"
203203
title="Delete"
204204
>
205-
<Trash2 size={15} aria-hidden="true" />
205+
<Trash2 size={15} />
206206
</button>
207207
</div>
208208
),
@@ -375,7 +375,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
375375
background: showColumnMenu ? 'rgba(255,255,255,0.08)' : 'transparent'
376376
}}
377377
>
378-
<Settings2 size={14} aria-hidden="true" />
378+
<Settings2 size={14} />
379379
COLUMNS
380380
</button>
381381
{showColumnMenu && (

apps/web-dashboard/src/components/DatabaseSidebar.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ export default function DatabaseSidebar({
3333
aria-label="Close sidebar"
3434
onClick={() => setIsSidebarOpen(false)}
3535
>
36-
<X size={18} aria-hidden="true" />
36+
<X size={18} />
3737
</button>
3838
<button
3939
className="btn-icon add-col-btn"
4040
aria-label="Create new database collection"
4141
onClick={() => navigate(`/project/${projectId}/create-collection`)}
4242
title="New Collection"
4343
>
44-
<Plus size={18} aria-hidden="true" />
44+
<Plus size={18} />
4545
</button>
4646
</div>
4747
</div>

apps/web-dashboard/src/components/RecordList.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default function RecordList({ data, activeCollection, onView }) {
2828
>
2929
<div className="record-main-info">
3030
<div className="record-header">
31-
<span className="record-index" aria-hidden="true">#{index + 1}</span>
31+
<span className="record-index">#{index + 1}</span>
3232
<span className="record-id font-mono">{record._id.substring(0, 8)}...</span>
3333
</div>
3434

@@ -48,9 +48,9 @@ export default function RecordList({ data, activeCollection, onView }) {
4848
</div>
4949
</div>
5050

51-
<div className="record-actions" aria-hidden="true">
51+
<div className="record-actions">
5252
<button className="btn-icon">
53-
<ArrowRight size={18} aria-hidden="true" />
53+
<ArrowRight size={18} />
5454
</button>
5555
</div>
5656
</div>

0 commit comments

Comments
 (0)