Add aria-label to playground header buttons
ghstack-source-id: 4fdf672f02144e550d50b17f396a5d6d82dab5bd Pull Request resolved: https://github.com/facebook/react-forget/pull/2839
Lauren Tan committed
Apr 10, 2024 at 18:17 UTC
ed3bad0c2f75ef280c2e6721b8db9adf604fe19e
1 file changed
+2
compiler/apps/playground/components/Header.tsx
+2
@@ -58,6 +58,7 @@ export default function Header() {
58
<div className="flex items-center text-[15px] gap-4">
59
<button
60
title="Reset Playground"
61
+ aria-label="Reset Playground"
62
className="flex items-center gap-1 transition-colors duration-150 ease-in text-secondary hover:text-link"
63
onClick={handleReset}
64
>
@@ -66,6 +67,7 @@ export default function Header() {
67
</button>
68
<button
69
title="Copy sharable URL"
70
+ aria-label="Copy sharable URL"
71
className="flex items-center gap-1 transition-colors duration-150 ease-in text-secondary hover:text-link"
72
onClick={handleShare}
73
disabled={showCheck}