[wp-trac] [WordPress Trac] #56776: form label missing in profile page

WordPress Trac noreply at wordpress.org
Wed Jun 7 21:23:23 UTC 2023


#56776: form label missing in profile page
-------------------------------------+-------------------------------------
 Reporter:  smit08                   |       Owner:  audrasjb
     Type:  defect (bug)             |      Status:  closed
 Priority:  low                      |   Milestone:  6.3
Component:  Users                    |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-screenshot has-      |     Focuses:  accessibility,
  patch has-testing-info commit      |  administration
-------------------------------------+-------------------------------------
Changes (by audrasjb):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55892" 55892]:
 {{{
 #!CommitTicketReference repository="" revision="55892"
 Users: Use `type="hidden"` for hidden input on User edit administration
 panel.

 This hidden field added in [24552] to fix an issue with Chrome that was
 ignoring `autocomplete="off"` in `<input>`, by using a hidden, non-named,
 non-empty
 input right before the password field. However this input was only hidden
 via CSS and didn't have any label, which is considered as an accessibility
 issue.
 This changeset replaces `class="hidden"` with `type="hidden"` to properly
 indicate to user agents that it is an hidden field.

 Follow-up to [24552].

 Props smit08, audrasjb, sabernhardt, ryokuhi, tushar284, ashikurwp,
 siddhantwadhwani, pavanpatil1.
 Fixes #56776.
  --Cette ligne, et les suivantes
 ci-dessous, seront ignorées--

 M    trunk/src/wp-admin/user-edit.php
 M    trunk/src/wp-admin/user-new.php
 }}}

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


More information about the wp-trac mailing list