Skip to content

Commit da18afa

Browse files
Fix Accessibility Violations - Add Accessible Labels to Copy Buttons (#1171)
1 parent 5499aa8 commit da18afa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/layouts/LandingPageLayout.res

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ module QuickInstall = {
220220
disabled={state === Copied}
221221
className="relative h-10 w-10 flex justify-center items-center "
222222
onClick
223+
ariaLabel={"Copy " ++ code ++ " command"}
223224
>
224225
<Icon.Copy className="w-6 h-6 mt-px text-gray-40 hover:cursor-pointer hover:text-gray-80" />
225226
</button>

0 commit comments

Comments
 (0)