mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
aria-label enhancements
This commit is contained in:
parent
fb60c57af2
commit
5b72a7732f
3 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@ export default {
|
|||
return this.$attrs.disabled || this.$attrs.disabled === '' || this.loading;
|
||||
},
|
||||
defaultAriaLabel() {
|
||||
return this.label ? this.label + (this.badge ? ' ' + this.badge : '') : this.$attrs['aria-label'];
|
||||
return this.label ? this.label + (this.badge ? ' ' + this.badge : '') : this.$attrs.ariaLabel;
|
||||
},
|
||||
hasIcon() {
|
||||
return this.icon || this.$slots.icon;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue