Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(checkbox): make mdAria check linked element
Browse files Browse the repository at this point in the history
Closes #1094
  • Loading branch information
Marcy Sutton committed Jan 29, 2015
1 parent 8832f74 commit 3346532
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/checkbox/checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function MdCheckboxDirective(inputDirective, $mdInkRipple, $mdAria, $mdConstant,
var checked = false;
$mdTheming(element);

$mdAria.expectWithText(tElement, 'aria-label');
$mdAria.expectWithText(element, 'aria-label');

// Reuse the original input[type=checkbox] directive from Angular core.
// This is a bit hacky as we need our own event listener and own render
Expand Down
1 change: 0 additions & 1 deletion src/components/toast/demoBasicUsage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
<b>Toast Position: "{{getToastPosition()}}"</b>
<br/>
<md-checkbox ng-repeat="(name, isSelected) in toastPosition"
aria-label="{{name}}"
ng-model="toastPosition[name]">
{{name}}
</md-checkbox>
Expand Down

0 comments on commit 3346532

Please sign in to comment.