1. ESC key to close modals & menus

    Written by on July 30, 2013 in Development

    We look at some JavaScript best practice in this week’s Best Practice of the Week (BPOW). Using the Esc key to close toggle-able widgets such as modals and pop-over menus is becoming so prevalent in user interfaces that it’s usually expected by users. The concept is so simple that there’s no reason not to add it into your websites and web applications.