fix(Link): allow ariaLabel to be picked

Resolves #1934
This commit is contained in:
Benjamin Canac
2024-07-22 12:24:01 +02:00
parent 6b216cab1b
commit 720c44dd5e

View File

@@ -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) {