[wp-trac] [WordPress Trac] #46573: Introduce a Site Health module for users to self-service their site

WordPress Trac noreply at wordpress.org
Mon Mar 25 00:00:41 UTC 2019


#46573: Introduce a Site Health module for users to self-service their site
---------------------------------------+-----------------------
 Reporter:  Clorith                    |       Owner:  pento
     Type:  task (blessed)             |      Status:  assigned
 Priority:  normal                     |   Milestone:  5.2
Component:  General                    |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:
---------------------------------------+-----------------------

Comment (by pento):

 Replying to [comment:38 Clorith]:
 > Adding a note for the followup task that the copy to clipboard textarea
 likely needs reverted to a visible field for two reasons:
 >
 > - Accessibility, as mentioned in [https://github.com/WordPress/health-
 check/issues/287 a GitHub ticket] from the accessibility team, it's
 desired to have this available.

 That ticket doesn't specify an accessibility issue, just that it was
 confusing what was being copied. This could be rectified by modifying the
 button label (eg, "Copy Report to Clipboard").

 > - The clipboard API in browsers has ths as a requirement, the field you
 are copying must be visible, or else it will not copy anything and you end
 up with an empty clipboard.

 As @afercia mentioned, the field is visible, just off-screen, so can be
 copied. (Or at least, it worked in my brief testing.)

 @afercia: if we set `aria-hidden="true" tabindex="-1"` on the `<textarea>`
 elements that exist for the copy button to work, will that be sufficient
 to hide it from screen readers and keyboard navigation?

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


More information about the wp-trac mailing list