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

Description
In material-button, we attempt to automatically add accessible names by utilizing material.services.aria to copy text content to the aria-label property. However, on buttons without text content, aria-label is injected with an empty string, allowing inaccessible components with no warning being logged to the developer.
For example: the FAB buttons in the material-button demo do not have any text, however an empty string passed through to aria.expectAttribute comes back as angular.isDefined("") === true.