[wp-trac] [WordPress Trac] #40628: User list table admin: Need to replace blank space with "—" when first_name and last_name is blank

WordPress Trac noreply at wordpress.org
Tue May 2 14:32:18 UTC 2017


#40628: User list table admin: Need to replace blank space with "—" when first_name
and last_name is blank
-------------------------------------+----------------------------
 Reporter:  Girishpanchal            |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  4.8
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  accessibility
-------------------------------------+----------------------------
Changes (by afercia):

 * keywords:  has-patch => has-patch needs-refresh
 * focuses:  administration => accessibility
 * version:  4.7.4 =>
 * milestone:  Awaiting Review => 4.8


Comment:

 @Girishpanchal thanks for your patch, makes sense to me! Ideally this
 should be implemented as in the other list tables, hiding the dash to
 assistive technologies and adding some hidden screen reader text. See for
 example:
 https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-
 wp-posts-list-table.php?rev=40361#L1124
 https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-
 wp-list-table.php?rev=40361#L659

 In this case, the hidden text could be something like `No name`?

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


More information about the wp-trac mailing list