Skip to content
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

Backport WordPress reset password form changes #52

Closed
viktorix opened this issue Oct 20, 2021 · 6 comments
Closed

Backport WordPress reset password form changes #52

viktorix opened this issue Oct 20, 2021 · 6 comments

Comments

@viktorix
Copy link
Member

viktorix commented Oct 20, 2021

I noticed password reset forms have changed in WP, making them more accessible. We should incorporate these changes. Two examples:

After requesting password reset, they hide the form and show a message:
image

https://core.trac.wordpress.org/ticket/40605
https://core.trac.wordpress.org/changeset/48303
https://core.trac.wordpress.org/changeset/48304
https://core.trac.wordpress.org/changeset/48305

Once you're on the password reset page:
image

https://core.trac.wordpress.org/ticket/39638
https://core.trac.wordpress.org/changeset/50153

In addition to form changes, they also changed show password button. It's a right now in CP, needs to be backported so it's a proper button. This, I believe, is here:
https://core.trac.wordpress.org/ticket/42888
https://core.trac.wordpress.org/changeset/46256

I'll look into backporting these.

@ClassyBot
Copy link
Collaborator

This issue has been mentioned on ClassicPress Forums. There might be relevant details there:

https://forums.classicpress.net/t/center-lost-password-back-links-on-login-page/3613/49

@mattyrob
Copy link
Contributor

Some history in the 'show password' button is here:
ClassicPress/ClassicPress#525

@viktorix
Copy link
Member Author

viktorix commented Oct 20, 2021

Thanks @mattyrob. Interesting discussion. I see admin styles were brought up. I started a discussion about backporting high contrast UI changes, which might be relevant.

My main concern with the changes in these changesets are accessibility. If we don't want to backport styling changes, I can look into adding functionality myself. Backporting is just one way of getting this done.

I started looking into this when I noticed show password button on the password reset page was a span without tabindex, so not accessible at all.

@nylen
Copy link
Contributor

nylen commented Oct 21, 2021

All changesets mentioned here look like they should be relatively straightforward to backport, except for https://core.trac.wordpress.org/changeset/46256. For that one see my previous comment at ClassicPress/ClassicPress#525 (comment):

Backporting any change that intersects with WP's refactoring of admin styles is especially complicated (see above for some changesets that still need to be included, and there may be more since then).

I'd recommend starting with the other changesets first in a dedicated PR, but probably best to do that after we've completed the redesign of the login page (#796).

@nylen
Copy link
Contributor

nylen commented Oct 21, 2021

Also, I still think it's generally better to use the backport script and then adapt a change to ClassicPress as much as needed, even if this means almost redoing it. This way we keep a clear record of which WP changes we have actually adopted.

@viktorix
Copy link
Member Author

This one is mine, it will be included in v2.0. Closing ticket.

@viktorix viktorix transferred this issue from ClassicPress/ClassicPress Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants