[wp-trac] [WordPress Trac] #55143: Twenty Twenty One: focus position jumps when opening popup
WordPress Trac
noreply at wordpress.org
Fri Feb 11 12:19:35 UTC 2022
#55143: Twenty Twenty One: focus position jumps when opening popup
--------------------------+-----------------------------
Reporter: paaljoachim | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Keywords:
Focuses: javascript |
--------------------------+-----------------------------
The following was noticed in this My Calendar Github issue:
https://github.com/joedolson/my-calendar/issues/374
"Twenty Twenty One contains code that intercepts all anchor links
containing a '#' and moves scroll position to that link. This causes an
undesirable focus position movement for popups.
Not sure there's a viable way around this other than switching the popup
trigger to a button, which creates a significant new burden in
formatting."
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55143>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list