[wp-trac] [WordPress Trac] #50335: Privacy Policy Guide page: Improvements for the Copy button
WordPress Trac
noreply at wordpress.org
Tue Jun 30 13:54:54 UTC 2020
#50335: Privacy Policy Guide page: Improvements for the Copy button
-------------------------------------+-------------------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: Privacy | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-screenshots has- | Focuses: accessibility,
patch commit | javascript
-------------------------------------+-------------------------------------
Changes (by afercia):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"48234" 48234]:
{{{
#!CommitTicketReference repository="" revision="48234"
Accessibility: Privacy: Accessibility improvements for the Privacy Policy
Guide page.
Improves accessibility of the "Copy this section" button and "Return to
Top" link:
- uses `setTimeout()` and `clearTimeout()` to properly handle the
"Copied!" text
- simplifies the button text by removing the redundant visually hidden
text
- fixes the mismatching visual and DOM order of the Copy button and the
"Return to Top" link
- improves the "Return to Top" links by providing real page fragment
identifiers, when possible
- hides the "Return to Top" up arrow from assistive technologies
- minor coding standards
Props afercia, garrett-eclipse.
See #48463, #50322.
Fixes #50335.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50335#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list