mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
Rename sr-only/sr-only-focusable (#31139)
* Rename `sr-only`/`sr-only-focusable` To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133 Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -34,7 +34,7 @@ Unless the context is clear (as with the "Notifications" example, where it is un
|
||||
{{< example >}}
|
||||
<button type="button" class="btn btn-primary">
|
||||
Profile <span class="badge bg-secondary">9</span>
|
||||
<span class="sr-only">unread messages</span>
|
||||
<span class="visually-hidden">unread messages</span>
|
||||
</button>
|
||||
{{< /example >}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user