Streaming live at 10am (PST)

Closing modal by pressing the "esc" key


Is there any simple script that allows me to assign the ".close-modal"button to the “esc” key on the keyboard?

Thank you,

Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Link to custom code solution below. Although I do think an out-of-the-box modal component that’s accessible is really missing from Webflow. Such a common element!