Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Commit

Permalink
feat(textfield): Add 'aria-hidden' HostBinding to Helptext directive
Browse files Browse the repository at this point in the history
  • Loading branch information
trimox committed Aug 4, 2017
1 parent 483fd98 commit 6545321
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/textfield/textfield.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class TextfieldHelptextDirective {
@Input() persistent: boolean;
@Input() validation: boolean;
@HostBinding('class.mdc-textfield-helptext') isHostClass = true;
@HostBinding('attr.aria-hidden') ariaHidden: string = 'true';
@HostBinding('class.mdc-textfield-helptext--persistent') get classPersistent(): string {
return this.persistent ? 'mdc-textfield-helptext--persistent' : '';
}
Expand Down

0 comments on commit 6545321

Please sign in to comment.