Commit graph

11 commits

Author SHA1 Message Date
Matthew Reishus
07038935d7 Themes: Fix anchor link behavior on Varia/Seedlet child themes
As described in https://github.com/Automattic/themes/issues/3520,
certain child themes of Varia and Seedlet were not handling menu links
correctly when they were navigating to anchor IDs on the page the user
was currently on. An existing bit of logic was already implemented in
the twentytwentyone theme to address this use case, so this diff ports
it into the asset scripts for Varia and Seedlet as well.

Ported from D62296-code
2021-06-08 09:05:01 -05:00
Ben Dwyer
5ae2a74320 test commit 2021-03-31 16:47:01 +01:00
Jeff Ong
b07f34e68e Fix keyboard navigation selector. 2021-02-23 14:31:19 -05:00
Maggie Cabrera
9f026ed7f5 removed pesky backticks 2021-01-18 11:29:51 +01:00
Ben Dwyer
6c11e33a6c Fix the IE11 ponyfill in Seedlet 2021-01-15 17:14:24 +00:00
Ben Dwyer
08f6616c18 Support IE11 via a ponyfill 2020-10-05 11:14:08 +01:00
Jeff Ong
351838299c
Add back desktop menu icon, filter out on mobile. (#2359) 2020-08-14 18:02:54 -04:00
Jeff Ong
924f55d058
Handle if no navs are present. (#2354) 2020-08-13 14:26:37 -04:00
Jeff Ong
41f1d0697c
Seedlet: fix keyboard navigation (#2305)
* Scope focus styles to the site.

* Implement keyboard navigation trapping in menu modal.

* Change taborder of menu buttons.

* Cleanup focus selector.

* Fix keyboard nav within modal.

* Refactor primary menu logic to enable correct tab order.

* Refactor to work with multiple navs.

* Fix empty cart bug.
2020-08-12 12:30:02 -04:00
Jeff Ong
3f93343a9d
Seedlet: Fix Theme Review bugs (#2285)
* Fix package name, missed escapes, and variable prefixing.

* Remove accidental commit of experimental link color commenting out.

* Remove a line to trigger a diff.

* Remove second translation function.

* Rename menu variable.

* Update theme URI.

* Prefix global message variable.
2020-07-29 13:44:19 -04:00
Jeffrey Ong
66fe602d0c Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00