Skip to content

Commit

Permalink
fix(Link): allow ariaLabel to be picked
Browse files Browse the repository at this point in the history
Resolves #1934
  • Loading branch information
benjamincanac committed Jul 22, 2024
1 parent 6b216ca commit 720c44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/utils/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 720c44d

Please sign in to comment.