Design a site like this with WordPress.com
Get started

Accessible hamburger buttons without JavaScript

Burger buttons have become the de facto standard for expanding larger menus on smaller devices over the last few decades. They are so common that every user recognizes them when they appear in the top left or right corner, making them an excellent user interface element choice. They are also very simple to implement in JavaScript: listen for the button’s onclick event and add or remove a class to style the menu with CSS.

Read more…

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: