diff --git a/website/.vitepress/components/HomePage.vue b/website/.vitepress/components/HomePage.vue
index e3952c1a..0339bcda 100644
--- a/website/.vitepress/components/HomePage.vue
+++ b/website/.vitepress/components/HomePage.vue
@@ -25,6 +25,12 @@ const copyAnnouncement = computed(() => {
return '';
});
+const copyAriaLabel = computed(() => {
+ if (copyState.value === 'copied') return 'Install command copied';
+ if (copyState.value === 'failed') return 'Copy install command again';
+ return 'Copy install command';
+});
+
function resetCopyState() {
window.clearTimeout(copyResetTimer);
copyResetTimer = window.setTimeout(() => {
@@ -68,7 +74,7 @@ function track(event: string) {
{{ installCommand }}