-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(checkbox): adds invisible input element to leverage built-in functionality #415
Conversation
[attr.aria-label]="ariaLabel" | ||
[attr.aria-labelledby]="labelId" | ||
[attr.aria-checked]="getAriaChecked()" | ||
[attr.aria-disabled]="disabled" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are aria-checked
and aria-disabled
necessary for a native checkbox?
<div class="md-checkbox-inner-container"> | ||
<input #input class="md-checkbox-input" type="checkbox" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why has the input a local variable? I can't see it used in any other sections
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I don't think this is used any more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good call - it isn't used anymore.
Refactors checkbox to use native input element closes #250
LGTM |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
@jelbourn @kara @hansl