-
Notifications
You must be signed in to change notification settings - Fork 160
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
Add <label> to provider name #387
Conversation
Can't use esc_attr_e() without a textdomain.
@georgestephanis / @kasparsd any thoughts on a review of this PR and whether it's ready for consideration in v0.8.0? |
Given that we're looking at a larger UX review of this part of the plugin and that in yesterday's bug scrub @georgestephanis is not certain the label targeting the tickbox instead of the radio button when the radio button is closer and that it might be possible to flip those columns as well; I'm going to punt this to a future release to slim down our focus for 0.8.0 to handle the larger U2F deprecation. |
Yeah, the Enabled / Primary UX needs to be overhauled (see #342). I'm injecting the labels with some javascript at the moment as a workaround until the interface is reworked at some point. |
This is a great UX and accessibility improvement. Let's merge this in. |
2FA core plugin merged my PR in v0.7.3: WordPress/two-factor#387 So this is no longer necessary.
Hi,
This PR wraps the provider name with the
<label>
element for better UX.GIF:
I've also renamed the
Name
column toType
since this column also has buttons depending on the provider (TOTP, Backup Verification Codes). I can revert this if this isn't desired.