Merge pull request #459 from philiparthurmoore/menu-a11y
a11y improvements on primary navigation menu toggle
This commit is contained in:
commit
53f62fa23a
3 changed files with 2 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
if ( ! container )
|
||||
return;
|
||||
|
||||
button = container.getElementsByTagName( 'h1' )[0];
|
||||
button = container.getElementsByTagName( 'button' )[0];
|
||||
if ( 'undefined' === typeof button )
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue