[wp-trac] [WordPress Trac] #35391: Remove title attributes: the Posts Date column full date and time

WordPress Trac noreply at wordpress.org
Mon Feb 10 16:23:58 UTC 2020


#35391: Remove title attributes: the Posts Date column full date and time
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  afercia
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.4
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots title-attribute      |     Focuses:  ui,
  tooltips has-patch 2nd-opinion                 |  accessibility
-------------------------------------------------+-------------------------

Comment (by afercia):

 Ideally, the date/time string should use the same format of the Comments
 one: date and time separated by ` at `

 {{{
 $t_time = sprintf(
         /* translators: 1: Post date, 2: Post time. */
         __( '%1$s at %2$s' ),
         /* translators: Post date format. See https://www.php.net/date */
         get_the_time( __( 'Y/m/d' ), $post ),
         /* translators: Post time format. See https://www.php.net/date */
         get_the_time( __( 'g:i:s a' ), $post )
 );
 }}}

 Question: is it really important to show the seconds? Comments show only
 hour and minutes.

 The visual issues stay though, including lack of visual hierarchy between
 the status (Published, Scheduled, etc.) and the date/time. Overall, I'm
 not sure this is a case where the "decisions not options" philosophy is
 the best approach. Users have different needs. A default format based on
 an assumption doesn't fit all needs.

 Some users would prefer a "cleaner" view, with a friendly human readable
 date/time format. Other users would prefer or even need a detailed
 date/time format. Applications designed for a large, diverse, audience
 provide options for that. For example. Gmail provides three options for
 the "Display density" setting:
 - Default
 - Comfortable (cleaner)
 - Compact (smaller rows)

 I do realize this should apply to the whole table. It would also be an
 opportunity to improve one of the long-standing issues with the various
 tables in the admin: cluttered UI and information density.

 The current "Excerpt View" isn't really the right place for an option to
 change the way the date/time is displayed because:
 - the UI makes its best to hide this setting under the "Screen options": I
 wonder how many users are aware an "Excerpt View" exists
 - it's not explained anywhere that it also changes the date/time display
 - it's called "Excerpt View": a name that doesn't clarify what it does

 For now, I'd be in favour of just displaying the full date/time. Loss of
 information should never happen because "there's no available space in the
 UI". That's a UI problem. A good UI should be designed around the content
 it is supposed to display, not the other way around.

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


More information about the wp-trac mailing list