Skip to content

Commit

Permalink
fix(menu): Add “type” attribute to mobile menu button
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Dec 4, 2018
1 parent f94c949 commit 69d518b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// Button properties
menuButton.classList.add('menu-button')
menuButton.setAttribute('id', 'menu-button')
menuButton.setAttribute('type', 'button')
menuButton.setAttribute('aria-label', 'Menu')
menuButton.setAttribute('aria-expanded', 'false')
menuButton.setAttribute('aria-controls', 'menu')
Expand Down

0 comments on commit 69d518b

Please sign in to comment.