@@ -238,6 +241,7 @@ export function SidebarCustomizer({
className="h-8 w-8 p-0"
title={t('sidebar.moveDown', 'Move down')}
disabled={index === sortedGroups.length - 1}
+ aria-label={t('sidebar.moveDown', 'Move down')}
>
@@ -248,6 +252,7 @@ export function SidebarCustomizer({
onClick={() => removeCustomGroup(group.id)}
className="h-8 w-8 p-0"
title="Delete custom group"
+ aria-label="Delete custom group"
>
@@ -269,13 +274,13 @@ export function SidebarCustomizer({
return (
-
+
{title}
{isPinned && (
@@ -286,13 +291,14 @@ export function SidebarCustomizer({
)}
-
+
@@ -319,6 +326,9 @@ export function SidebarCustomizer({
onClick={() => toggleItemVisibility(item.id)}
className="h-8 w-8 p-0"
title={isHidden ? 'Show' : 'Hide'}
+ aria-label={
+ isHidden ? 'Show item' : 'Hide item'
+ }
>
{isHidden ? (
@@ -333,7 +343,7 @@ export function SidebarCustomizer({
})}
{group.isCustom && (
-
+
@@ -370,7 +380,7 @@ export function SidebarCustomizer({
{t('sidebar.createGroup', 'Create New CRD Group')}
-
-
+