What’s that "Mr-only" Bootstrap Twitter thing for?

Asked

Viewed 7,980 times

11

Studying the documentation I was left with doubts: for what really serves the class sr-only of bootstrap?

  • 1

    This question already exists in the Stack Overflow in English, take a look ai: http://stackoverflow.com/questions/19758598/what-is-sr-only-in-bootstrap-3 it serves practically to hide information used by screen readers....

2 answers

10

The documentation says:

Hide an element to all Devices except screen Readers

That is to say:

Hides an element for all devices except screen readers.

Therefore, it is a way of presenting content that is only considered by screen readers (which are browsers that read the content for those who do not see).

3

According to the bootstrap documentation, this class serves to hide sessions from your page except on screen readers.

It is used for accessibility issues, in this case more specifically aimed at visual impairment. It is something like the attribute alt image tag.

More information on accessibility for the visually impaired.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.