Lance Willett
8a0a5ce1d2
Twenty Twelve: make small-screen menu accessible to keyboard commands and voice-driven software by using a focusable button element rather than h3
for the toggle element. Fixes #28224 , props rclations.
...
Built from https://develop.svn.wordpress.org/trunk@29095
git-svn-id: http://core.svn.wordpress.org/trunk@28881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-11 17:47:14 +00:00
Lance Willett
3c9d69fa90
Twenty Twelve: make submenu links work correctly on tablets. Props tar.gz, purzlbaum, DavidTheMachine. See #24767 .
...
Built from https://develop.svn.wordpress.org/trunk@28700
git-svn-id: http://core.svn.wordpress.org/trunk@28517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-08 19:00:14 +00:00
Lance Willett
393381d3e4
Twenty Twelve: improve menu navigation for keyboard and voice-over interactions by properly focusing on submenu items when they are open. See #24839 , props dannydehaan, joedolson, lancewillett.
...
Built from https://develop.svn.wordpress.org/trunk@27606
git-svn-id: http://core.svn.wordpress.org/trunk@27449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 05:29:16 +00:00
Lance Willett
8f17fa783a
Twenty Twelve: avoid JavaScript errors if navigation wrapper markup is removed from header. Fixes #22307 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@22574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-14 20:21:01 +00:00
Lance Willett
e538b8c697
Twenty Twelve: update navigation script to check for missing button and menu children earlier; allows an empty menu to be set without showing the button. See #21678 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-20 16:28:27 +00:00
Lance Willett
8932111b07
Twenty Twelve: spaces to tabs in navigation.js, props obenland. See #21685 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 16:50:05 +00:00
Lance Willett
a1d39f1e1e
Twenty Twelve: rework navigation to remove need for jQuery and support wp_page_menu markup better. Fixes #21562 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 21:07:19 +00:00
Lance Willett
1dabc15e34
Twenty Twelve: re-implement the hiding of toggle element when empty menu is present, see #21562 and r21520 props cfinke.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 19:14:51 +00:00
Lance Willett
6de0e77fd4
Twenty Twelve: improve navigation to be mobile-first and not rely on JS for hiding and showing, props obenland for patches. See #21562 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 18:35:33 +00:00
nacin
edb6c96b9f
Remove Twenty Twelve from 3.4. see #19978 . see http://wp.me/pbNCB-yA .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 18:41:54 +00:00
lancewillett
e3813d7b68
Twenty Twelve: make proper use of the cached jQuery collection in navigation.js, props mattwiebe. Fixes #20131 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 19:17:04 +00:00
lancewillett
a044beab6a
Twenty Twelve: add support for toggling the navigation menu in small screens. See #19978 .
...
Triggered when a viewport is under 600 pixels wide. This functionality depends on JS being enabled, and will naturally fall back to a normal, expanded menu for a client without JS.
Props iandstewart for the original JS file and concept.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 03:59:47 +00:00