This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Description
Consider usage scenario of a table with checkbox columns:

<label for='<some-id>'></label>
<p> ipsum lorem </p>
<md-checkbox id='some-id' ng-model="isChecked"></md-checkbox>
<!-- or even using:
<md-input id='some-id' type=checkbox type='checkbox'>
-->
Since the md-input or md-checkbox element has an assigned id, first check for a md-label element with matching for attribute value before warning about the aria-label; otherwise inject the lookup value (if aria-label was not explicitly specified).
md-label - when a for attribute could potentially register the aria-label is a global lookup. So the input element search associated labels is NOT a DOM search.