Update BaseIcon.vue

pull/3841/head
mertsincan 2023-04-03 09:26:51 +01:00
parent ea887fcea3
commit cc02c8e658
1 changed files with 1 additions and 0 deletions

View File

@ -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
}; };
} }