#33778 closed defect (bug) (fixed)
Password label not focussing password field when clicked
Reported by: | umesh.nevase | Owned by: | adamsilverstein |
---|---|---|---|
Milestone: | 4.3.1 | Priority: | normal |
Severity: | major | Version: | 4.3 |
Component: | Administration | Keywords: | has-patch needs-testing |
Focuses: | ui, accessibility, javascript, administration | Cc: |
Description
When we click on password label on wordpress install page, the password text field not getting focussed. When we click on hide button and then click on 'Password' label then the password text field gets focussed. It is little bit confusing the user, whether to edit or not the password.
Attachments (7)
Change History (27)
#2
@
9 years ago
- Keywords needs-testing added
- Milestone changed from Awaiting Review to 4.3.1
- Severity changed from normal to major
This seems like a pretty major bug that needs to go into 4.3.1. Thanks for reporting!
#3
@
9 years ago
I've added new patch ( 33778.2.patch ) which is also works on user edit and add new user page. I've found the same issue on User edit page and Add new user page.
#4
@
9 years ago
@umesh.nevase:
Thanks for the bug report and patch.
This makes sense as we are swapping fields and need to keep track of where the focus should go. I will give this patch a test.
#5
@
9 years ago
- Summary changed from Wordpress install password label not focussin password field on click to Password label not focussing password field when clicked
#7
in reply to:
↑ 6
@
9 years ago
Replying to adamsilverstein:
Already reported. Seems similar to https://core.trac.wordpress.org/ticket/33647
@
9 years ago
same issue also exists on New user and Edit profile pages. I've added id and script that handled the issue for all ( Install.php, user-new.php, profile.php ) password label
#8
@
9 years ago
I've seen same issue also exists on 'User profile' and 'New user' page. I added id field for 'Generate Password' button and added script to handle these issue. I've created new patch 33778.3.patch for all the issues ( install.php, pofile.php, user-new.php)
@
9 years ago
handled issue after canceling the password, when user clicks on 'cancel' button label for attribute set to wp-generate-pw
@
9 years ago
if javascript disabled handled password label to set 'pass1' focus and previous issue patch and this is final patch
This ticket was mentioned in Slack in #core-passwords by sam. View the logs.
9 years ago
#11
follow-up:
↓ 14
@
9 years ago
Looking at 33778.5.patch: it "points" the label to the Show password button. However clicking on a label for a button is pretty much the same as clicking the button. Do we want that behavior?
#12
@
9 years ago
In 33778.6.patch:
- Better caching and reusing of selected elements.
- Fixed formatting.
It still includes the label pointing to a button parts.
This ticket was mentioned in Slack in #core by azaozz. View the logs.
9 years ago
#14
in reply to:
↑ 11
@
9 years ago
Replying to azaozz:
it "points" the label to the Show password button. However clicking on a label for a button is pretty much the same as clicking the button. Do we want that behavior?
I'd recommend to avoid that, it's unexpected behavior and pretty confusing for all users.
#18
follow-up:
↓ 20
@
9 years ago
- Resolution set to fixed
- Status changed from reopened to closed
In 34063:
This ticket was mentioned in Slack in #core by juhisaxena. View the logs.
9 years ago
#20
in reply to:
↑ 18
@
9 years ago
Replying to azaozz:
In 34063:
@azaozz
I hope we also fixed same issue for 'User profile' and 'New user' page.
I had added patch in 33778.5.patch for the issue of this pages. because I could not see changes for profile page and new user page in commit or changeset 34061, 34062 and 34063.
Should I create new ticket for this issues?
Password label is not working