[wp-trac] [WordPress Trac] #34281: Allow admins to send users a 'Reset Password' link

WordPress Trac noreply at wordpress.org
Mon Feb 1 21:53:39 UTC 2021


#34281: Allow admins to send users a 'Reset Password' link
-------------------------------------------------+-------------------------
 Reporter:  Ipstenu                              |       Owner:
                                                 |  adamsilverstein
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Users                                |     Version:  4.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-ux-feedback      |     Focuses:  javascript
  has-patch commit                               |
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 > Thinking when it's AJAX it would be nice to send success/failure
 messages to wp.a11y.speak() :)

 @afercia I realized we don't have this in place yet. We have a single
 place we use an ajax action to sent the password reset:

 `var resetAction =  wp.ajax.post( 'send-password-reset', data );`

 Would `wp.a11y.speak` be added immediately before calling the ajax post?
 eg

 `wp.a11y.speak( 'Sending password reset' );`

 or would we fire immediately after the action with
 `wp.a11y.speak( 'Password reset sent' );`

 Or ''both''?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/34281#comment:84>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list