[wp-trac] [WordPress Trac] #46707: Site health: notify the user while gathering site data

WordPress Trac noreply at wordpress.org
Sun Apr 14 16:59:11 UTC 2019

#46707: Site health: notify the user while gathering site data
 Reporter:  azaozz                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.2
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  site-health has-patch needs-testing  |     Focuses:  ui,
                                                 |  performance

Comment (by afercia):

 I'd propose to remove the title attribute added on the spinner in [45176]:

 `title="<?php esc_attr_e( 'Calculating directory sizes. This may take a
 while…' ); ?>">`

 WordPress has been progressively removing many title attributes for the
 many reasons explained in #24766 and
 [https://core.trac.wordpress.org/query?keywords=~title-attribute many
 following tickets]. It would be nice to not add new title attributes in
 core :)

 Title attributes are only available to a minority of users. In this
 specific case, I'm not sure anyone will ever hover the mouse on the
 spinner to get any useful information from the title attribute (see
 screenshot attached below).

 The accessibility team recommendation is:
 - if the information provided by the title attribute is relevant, then
 consider to put it in some visible plain text in the page
 - if it's not relevant, it should be removed

Ticket URL: <https://core.trac.wordpress.org/ticket/46707#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list