aria-label enhancements

This commit is contained in:
tugcekucukoglu 2023-11-30 23:08:56 +03:00
parent fb60c57af2
commit 5b72a7732f
3 changed files with 3 additions and 3 deletions

View file

@ -77,7 +77,7 @@ export default {
return UniqueComponentId();
},
buttonAriaLabel() {
return this.toggleButtonProps && this.toggleButtonProps['aria-label'] ? this.toggleButtonProps['aria-label'] : this.legend;
return this.toggleButtonProps && this.toggleButtonProps.ariaLabel ? this.toggleButtonProps.ariaLabel : this.legend;
}
},
directives: {