[wp-trac] [WordPress Trac] #14795: Twenty Ten: move skip link earlier

WordPress Trac noreply at wordpress.org
Mon Feb 17 05:46:05 UTC 2025


#14795: Twenty Ten: move skip link earlier
--------------------------------------+----------------------------
 Reporter:  anonymized_3085           |       Owner:  sabernhardt
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  6.8
Component:  Bundled Theme             |     Version:  3.0
 Severity:  normal                    |  Resolution:
 Keywords:  twentyten-a11y has-patch  |     Focuses:  accessibility
--------------------------------------+----------------------------

Comment (by sabernhardt):

 I do not perceive any new problem with child themes due to having changes
 in both the `header.php` and `style.css`.
 - If a child theme replaces the main stylesheet, `block-library/style.css`
 has default `.screen-reader-text:focus` styles to show the skip link (with
 smaller text).
 - If a site replaces the main stylesheet **and** removes the `block-
 library` styles (for example, with the Disable Gutenberg plugin), then the
 skip link would not appear when focused. This hypothetical site should
 update the styles, but that case is no worse than the current situation
 **without** a child theme.
 - If a child theme replaces the `header.php` template, the custom template
 should be updated to fix the skip link's location and classes (if it was
 not done already).

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


More information about the wp-trac mailing list