Rename sr-only/sr-only-focusable to visually-hidden/visually-hidden-focusable#31139
Conversation
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
|
This is a breaking change, so no backporting. tried to strike a balance of brevity here with And yes, it's possibly silly/inconsequential, but the term |
|
I think this is a very good idea. Two things, though:
|
After renaming, it wouldn't make sense otherwise
|
@ffoodd i think even expanding this to |
|
related:
|
|
so are we happy/ok with |
|
also, thoughts on #31133, and whether to backport that one or not? |
|
TBH I don't know if |
|
I'd be in favor of |
|
If I saw Using |
|
so despite the lengthier classname, it seemingly preferred to go with |
|
I'm good with the longer name. Honestly every time I see it I think "very hidden" more than I think "visually hidden" lol. |
|
Joining camp longer name |
|
right, renamed the classes/mixins to the longer but clearer variant. and on reflection, probably little use in backporting #31133 ... just concentrating on v5 for this. in short, i think this is ready for merging, and after that #31133 would be good to merge as well. unless this needs to wait for #31122 @XhmikosR ? |
|
sorry, a bit of back and forth, but i think the migration.md is now as it should be... sanity check from @XhmikosR ? |
|
Just FYI that's not a rebase, not sure how you resolved the commits but in the future please rebase and squash your patches. |
|
i followed the command line instructions given here by github. sorry i'm not a git expert... |
sr-only/sr-only-focusablesr-only/sr-only-focusable to visually-hidden/visually-hidden-focusable
* 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 twbs#31133 Co-authored-by: XhmikosR <xhmikosr@gmail.com>
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). So
.v-hiddenand.v-hidden-focusable.Goes hand-in-hand with #31133