@@ -181,6 +181,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
181181 className = "btn-icon"
182182 onClick = { ( ) => onView ( info . row . original ) }
183183 onPointerDown = { e => e . stopPropagation ( ) }
184+ aria-label = "View Details"
184185 title = "View Details"
185186 >
186187 < Eye size = { 15 } />
@@ -189,6 +190,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
189190 className = "btn-icon"
190191 onClick = { ( ) => onEdit ( info . row . original ) }
191192 onPointerDown = { e => e . stopPropagation ( ) }
193+ aria-label = "Edit Record"
192194 title = "Edit"
193195 >
194196 < Pencil size = { 15 } />
@@ -197,6 +199,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
197199 className = "btn-icon danger-hover"
198200 onClick = { ( ) => onDelete ( info . row . original . _id ) }
199201 onPointerDown = { e => e . stopPropagation ( ) }
202+ aria-label = "Delete Record"
200203 title = "Delete"
201204 >
202205 < Trash2 size = { 15 } />
@@ -361,6 +364,9 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
361364 < div style = { { position : 'relative' } } >
362365 < button
363366 className = "btn btn-secondary btn-sm"
367+ aria-label = { showColumnMenu ? "Close column menu" : "Open column menu" }
368+ aria-hashpopup = "menu"
369+ aria-expanded = { showColumnMenu }
364370 onClick = { ( ) => setShowColumnMenu ( ! showColumnMenu ) }
365371 style = { {
366372 display : 'flex' ,
@@ -556,6 +562,7 @@ export default function CollectionTable({ data, activeCollection, onDelete, onVi
556562 value = { scrollState . scrollLeft }
557563 onChange = { handleSliderChange }
558564 onInput = { handleSliderChange }
565+ aria-label = "Scroll table horizontally"
559566 style = { { width : '100%' , cursor : 'ew-resize' } }
560567 className = "column-slider"
561568 />
0 commit comments