We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9313380 commit 4181724Copy full SHA for 4181724
components/button/lib/button.ts
@@ -81,7 +81,7 @@ export abstract class Button extends LitElement {
81
id="button"
82
class="md3-button ${classMap(this.getRenderClasses())}"
83
?disabled="${this.disabled}"
84
- aria-label="${this.ariaLabel || this.label}"
+ aria-label="${ifDefined(this.ariaLabel)}"
85
aria-haspopup="${ifDefined(this.ariaHasPopup)}"
86
@focus="${this.handleRippleFocus}"
87
@blur="${this.handleRippleBlur}"
0 commit comments