[wp-trac] [WordPress Trac] #54421: Deprecate skip link focus fix

WordPress Trac noreply at wordpress.org
Fri May 26 17:24:04 UTC 2023


#54421: Deprecate skip link focus fix
-------------------------+-------------------------------------------------
 Reporter:  westonruter  |       Owner:  sabernhardt
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  6.3
Component:  Bundled      |     Version:  3.6
  Theme                  |
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  accessibility, javascript,
  commit                 |  performance
-------------------------+-------------------------------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"55861" 55861]:
 {{{
 #!CommitTicketReference repository="" revision="55861"
 Bundled Themes: Remove/disable obsolete IE-specific skip-link-focus-fix.

 * Removes script from the `wp_print_footer_scripts` action in Twenty
 Nineteen, Twenty Twenty, and Twenty Twenty-One.
 * Switches enqueue functions to just register the scripts in Twenty
 Fifteen, Twenty Sixteen, and Twenty Seventeen.
 * Rearranges Twenty Seventeen's scripts to connect
 `twentyseventeenScreenReaderText` with the global script instead of the
 unused skip link fix.
 * Updates scripts in Twenty Fifteen and Twenty Sixteen with code from
 Twenty Seventeen _to run on Internet Explorer only_. Twenty Sixteen needed
 to keep an adjustment that offsets the toolbar and border.
 * Removes the script from JS files in Twenty Thirteen and Twenty Fourteen
 and edits their modified dates.

 Props sabernhardt, westonruter, joedolson, flixos90, mukesh27.
 Fixes #54421.
 }}}

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


More information about the wp-trac mailing list