Skip to content

Commit 2652c21

Browse files
committed
feat(ui): add aria-label for better a11y
1 parent 90b789c commit 2652c21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/ui/grid-progress.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ const GridProgress = React.forwardRef<HTMLDivElement, GridProgressProps>(
180180
enableHover && "hover:scale-110 hover:shadow-md",
181181
)}
182182
title={`位置 (${row}, ${col})${isFilled ? " - 已完成" : " - 未完成"}`}
183+
aria-label={`Position (${row}, ${col})${isFilled ? ' - Completed' : ' - Not completed'}`}
183184
/>
184185
);
185186
})}

0 commit comments

Comments
 (0)