We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
button
aria-role
1 parent b74ebe2 commit 9d85f9bCopy full SHA for 9d85f9b
1 file changed
core/icons/icon.ts
@@ -74,7 +74,7 @@ export abstract class Icon implements IIcon {
74
(this.svgRoot as any).tooltip = this;
75
tooltip.bindMouseEvents(this.svgRoot);
76
77
- aria.setRole(this.svgRoot, aria.Role.FIGURE);
+ aria.setRole(this.svgRoot, aria.Role.BUTTON);
78
aria.setState(this.svgRoot, aria.State.LABEL, 'Icon');
79
}
80
0 commit comments