diff --git a/packages/mdc-icon-button/foundation.ts b/packages/mdc-icon-button/foundation.ts index 141718d4a89..d4e9524cc5f 100644 --- a/packages/mdc-icon-button/foundation.ts +++ b/packages/mdc-icon-button/foundation.ts @@ -30,7 +30,7 @@ import {cssClasses, strings} from './constants'; export class MDCIconButtonToggleFoundation extends MDCFoundation { /** - * Whether the icon button has an aria label that changes depending on + * Whether the icon button has an aria-label that changes depending on * toggled state. */ private hasToggledAriaLabel = false; @@ -65,7 +65,7 @@ export class MDCIconButtonToggleFoundation extends if (this.adapter.getAttr(strings.ARIA_PRESSED) !== null) { throw new Error( 'MDCIconButtonToggleFoundation: Button should not set ' + - '`aria-pressed` if it has a toggled aria label.'); + '`aria-pressed` if it has a toggled ARIA label.'); } this.hasToggledAriaLabel = true;