Update BaseIcon.vue
parent
ea887fcea3
commit
cc02c8e658
|
@ -25,6 +25,7 @@ export default {
|
|||
}
|
||||
],
|
||||
role: !isLabelEmpty ? 'img' : undefined,
|
||||
'aria-label': !isLabelEmpty ? this.label : undefined,
|
||||
'aria-hidden': isLabelEmpty
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue