angular/material — pull request #754 by marcysutton (2014-11-24 21:53:19+00:00)
Title: docs(md-button): Clarifying aria-label usage

Clarifying doc to indicate the purpose and usage of `ariaLabel`. For `md-buttons` and other components, this utility enforces a text alternative by first checking for child text nodes (and child `aria-label` attributes), and then logging a warning to the developer if they are missing accessible text content. A few scenarios related to this utility:

* Md-button with default text: no warning, no aria-label needed
* Icon md-button with no default text: aria-label must be used
* Icon md-button with no default text and no ariaLabel: warning is logged
* Md-checkbox with text content: text is copied to `aria-label` for assistive tech labeling

Closes https://github.com/angular/material/issues/738