Clone Project

Hide Element With Escape Key

Created by
Memberstack
Similar Projects
Oops! Something went wrong while submitting the form.

0 Comments

Be the first to leave a comment.
Loading
User is typing...
No Name
Set
4 years ago
Moderator
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
No Name
Set
2 years ago
Moderator
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
Load More
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Load More
Description:  
Description from Webflow:  
Happy Wednesday!! One thing that's great for accessibility with modals is allowing the user to close them using the esc/escape key! This script allows that to happen in a very simple way - simply add the attribute to any modal wrapper, and they will be set to display none when they are clicked. To get the code, go to https://www.memberstack.com/scripts/hide-with-esc
Tags from Webflow: 
escape,  accessibility,  accessible,  accessibledesign,  webaccessibility,  modal,  popupmodal,  modals,  custom modal,  memberscript,  memberscripts
.