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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -