-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:chef_kiss:
Looks great!
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-focusable
sr-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 <[email protected]>
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-hidden
and.v-hidden-focusable
.Goes hand-in-hand with #31133