Font-Awesome/less/_screen-reader.less

15 lines
322 B
Plaintext
Raw Normal View History

2022-02-07 20:16:51 +00:00
// screen-reader utilities
// -------------------------
// only display content to screen readers
.sr-only,
2022-03-15 19:08:55 +00:00
.@{fa-css-prefix}-sr-only {
2022-02-07 20:16:51 +00:00
.fa-sr-only();
}
// use in conjunction with .sr-only to only display content when it's focused
.sr-only-focusable,
2022-03-15 19:08:55 +00:00
.@{fa-css-prefix}-sr-only-focusable {
2022-02-07 20:16:51 +00:00
.fa-sr-only-focusable();
}