Skip to content

Commit

Permalink
feat(QIcon): add missing accessibility attributes #6027
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed Jan 8, 2020
1 parent 8e2be5d commit b8fbc0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/src/components/icon/QIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ export default Vue.extend({
staticClass: this.type.cls,
style: this.sizeStyle,
on: this.$listeners,
attrs: { 'aria-hidden': true }
attrs: {
'aria-hidden': true,
role: 'presentation'
}
}

if (this.type.svg === true) {
Expand Down

0 comments on commit b8fbc0d

Please sign in to comment.