What is sr-only in Bootstrap 3?

后端 未结 6 864
猫巷女王i
猫巷女王i 2020-11-22 09:23

What is the class sr-only used for? Is it important or can I remove it? Works fine without.

Here\'s my example:

6条回答
  •  佛祖请我去吃肉
    2020-11-22 10:18

    Ensures that the object is displayed (or should be) only to readers and similar devices. It give more sense in context with other element with attribute aria-hidden="true".

    
    

    Glyphicon will be displayed on all other devices, word Error: on text readers.

提交回复
热议问题