Loading toolkit/content/widgets/moz-toggle/moz-toggle.mjs +0 −6 Original line number Diff line number Diff line Loading @@ -51,12 +51,6 @@ export default class MozToggle extends MozBaseInputElement { inputTemplate() { const { pressed, disabled, ariaLabel, handleClick } = this; // For tor-browser, if we have a title we use it as the aria-description. // Used for tor-browser#41333. // Only set the description using the title if it differs from the // accessible name derived from the label. const label = ariaLabel || this.label; const ariaDescription = label === this.title ? undefined : this.title; return html`<button id="input" part="button" Loading Loading
toolkit/content/widgets/moz-toggle/moz-toggle.mjs +0 −6 Original line number Diff line number Diff line Loading @@ -51,12 +51,6 @@ export default class MozToggle extends MozBaseInputElement { inputTemplate() { const { pressed, disabled, ariaLabel, handleClick } = this; // For tor-browser, if we have a title we use it as the aria-description. // Used for tor-browser#41333. // Only set the description using the title if it differs from the // accessible name derived from the label. const label = ariaLabel || this.label; const ariaDescription = label === this.title ? undefined : this.title; return html`<button id="input" part="button" Loading