mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Update BaseIcon.vue
This commit is contained in:
parent
ea887fcea3
commit
cc02c8e658
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ export default {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
role: !isLabelEmpty ? 'img' : undefined,
|
role: !isLabelEmpty ? 'img' : undefined,
|
||||||
|
'aria-label': !isLabelEmpty ? this.label : undefined,
|
||||||
'aria-hidden': isLabelEmpty
|
'aria-hidden': isLabelEmpty
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue