---
title: "Discussion on \"How to Build an Accessible Modal – with Example Code\" | Hashnode"
description: "Discussion on \"How to Build an Accessible Modal – with Example Code\". We often use modals or popups to display important information or prompt users to take action. Unlike regular pop-ups that can be opened in new windows or tabs, these dialogues keep the user on the same page by overlaying the existing content. This e..."
url: "https://hashnode.com/posts/how-to-build-an-accessible-modal-with-example-code/66cdec7e3bcefa4703267811"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Build an Accessible Modal – with Example Code](https://freecodecamp.org/news/how-to-build-an-accessible-modal-with-example-code?utm_source=hashnode&utm_medium=feed)

We often use modals or popups to display important information or prompt users to take action. Unlike regular pop-ups that can be opened in new windows or tabs, these dialogues keep the user on the same page by overlaying the existing content. This e...

Aug 27, 2024 · 9 min read · freecodecamp.org  
Read the article

-   [#a11y](https://hashnode.com/tag/a11y)
-   [#accessibility](https://hashnode.com/tag/accessibility)
-   [#frontend](https://hashnode.com/tag/frontend)
-   [#html5](https://hashnode.com/tag/html5)

## Written by

[Elizabeth Lola](https://hashnode.com/@elizabethmeshioye)

@elizabethmeshioye

  
[View profile](https://hashnode.com/@elizabethmeshioye)

Frontend Development

I am a frontend developer focused on React and TypeScript. My goal is to inspire developers to create inclusive platforms through my articles. Outside tech, I enjoy traveling, hiking, reading, and home decor. If you find my articles helpful, please share.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
