From 720c44dd5ee90bb3b30aef32f01ff6eae1397aa4 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Mon, 22 Jul 2024 12:24:01 +0200 Subject: [PATCH] fix(Link): allow `ariaLabel` to be picked Resolves #1934 --- src/runtime/utils/link.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/utils/link.ts b/src/runtime/utils/link.ts index eaf2f3da89..88e59e64e5 100644 --- a/src/runtime/utils/link.ts +++ b/src/runtime/utils/link.ts @@ -127,7 +127,7 @@ export const getNuxtLinkProps = (props) => { } export const getULinkProps = (props) => { - const keys = [...Object.keys(nuxtLinkProps), ...Object.keys(uLinkProps)] + const keys = [...Object.keys(nuxtLinkProps), ...Object.keys(uLinkProps), 'ariaLabel'] return keys.reduce((acc, key) => { if (props[key] !== undefined) {