on all things frontend related that make a better user experience
About
My name is Yan Li. I’m a Senior Software Engineer at Adobe and I like to create user experiences that matter. This is my place to share posts about web development involving Javascript, CSS, React and UI/UX.
In this continuation, you'll learn how to create a focus trap within your dialog modal to keep track of key events that allow keyboard users to access your perfectly designed modal.
Modals are a pretty common pattern in UI/UX design, but they also come with a lot of accessibility concerns if done incorrectly. Here's how you can do it right.