angularjs - What is md-visually-hidden used for? -
in angular material design, see md-visually-hidden in codepen form developer team.
it used this:
<button ng-click="togglesidenav('left')" hide-gt-sm class="md-icon-button menubtn"> <span class="md-visually-hidden">menu</span> </button>
is hides content, purpose of adding , hiding text "menu"? guess point not replace html commenting...
i suspect used screen readers. context, there comment fragment has md-visually-hidden
class.
Comments
Post a Comment