From ab3b19418b8c85904a148f77682148eba50af3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=A8=E9=9C=96=E9=93=83?= Date: Fri, 5 Jun 2026 20:54:43 +0800 Subject: [PATCH] fix(CopyButton): add aria-label for screen reader accessibility Set aria-label to the same value as title so icon-only button is properly announced by assistive technology. --- src/components/CopyButton.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/CopyButton.tsx b/src/components/CopyButton.tsx index a8e9b7b..6adf5c0 100644 --- a/src/components/CopyButton.tsx +++ b/src/components/CopyButton.tsx @@ -53,6 +53,7 @@ export const CopyButton: React.FC = ({ type="button" onClick={handleCopy} title={tooltip ?? t('buttons.copy')} + aria-label={tooltip ?? t('buttons.copy')} className={cn( buttonVariants({ variant, size }), copied &&