Add aria-label to playground header buttons

ghstack-source-id: 4fdf672f02144e550d50b17f396a5d6d82dab5bd
Pull Request resolved: https://github.com/facebook/react-forget/pull/2839
This commit is contained in:
Lauren Tan
2024-04-10 18:17:36 -04:00
parent 7083231f6d
commit ed3bad0c2f
@@ -58,6 +58,7 @@ export default function Header() {
<div className="flex items-center text-[15px] gap-4">
<button
title="Reset Playground"
aria-label="Reset Playground"
className="flex items-center gap-1 transition-colors duration-150 ease-in text-secondary hover:text-link"
onClick={handleReset}
>
@@ -66,6 +67,7 @@ export default function Header() {
</button>
<button
title="Copy sharable URL"
aria-label="Copy sharable URL"
className="flex items-center gap-1 transition-colors duration-150 ease-in text-secondary hover:text-link"
onClick={handleShare}
disabled={showCheck}