[wp-trac] [WordPress Trac] #46621: Site Health: don't use a progressbar for the health "score"

WordPress Trac noreply at wordpress.org
Wed Mar 27 20:38:14 UTC 2019


#46621: Site Health: don't use a progressbar for the health "score"
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  afercia
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.2
Component:  General                              |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-screenshots has-patch site-      |     Focuses:  ui,
  health                                         |  accessibility
-------------------------------------------------+-------------------------
Changes (by afercia):

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


Comment:

 In [changeset:"45041" 45041]:
 {{{
 #!CommitTicketReference repository="" revision="45041"
 Accessibility: Simplify the Site Health score indicator.

 The Site Health score indicator isn't exactly a "progress bar" and
 shouldn't use ARIA roles and properties related to progress bars. Also,
 some browser / screen reader combinations don't announce the score
 properly.
 - removes any ARIA
 - adds a screen-reader-text "Current health score:"
 - adds `role="img" aria-hidden="true" focusable="false"` to the SVG
 - reduces CSS specificity simplifying unnecessary overqualified selectors
 - fixes the syntax for ::after and ::before (double colon)

 Fixes #46621.
 }}}

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


More information about the wp-trac mailing list