2023-03-02
2045
#react
Hulya Karakaya
161315
110
Mar 2, 2023 â‹… 7 min read

Build an accessible modal with focus-trap-react

Hulya Karakaya A frontend developer interested in open source and building amazing websites. I believe in building through collaboration and contribution.

Recent posts:

How to manage JavaScript closures in React

The proper handling of JavaScript closures is essential to any JavaScript project. In React projects specifically, closures can manifest themselves […]

Tanishka Kashikar
Mar 24, 2025 â‹… 10 min read
array filter method javascript

How to use the array filter() method in JavaScript

Learn about the array filter() method, from its basic syntax and use cases to more advanced techniques like chaining with map() and reduce().

Abiola Farounbi
Mar 24, 2025 â‹… 5 min read
css vertical alignment

CSS vertical alignment: Best practices and examples

CSS has come a long way, making vertical alignment easier than ever. Learn about this concept and explore some of the best CSS vertical alignment techniques.

Facundo Corradini
Mar 23, 2025 â‹… 8 min read
How to win clients with a Flutter web demo that feels real

How to win clients with a Flutter web demo that feels real

Use Flutter to build browser-based app demos that help clients visualize the product, speed up buy-in, and close deals faster.

Lewis Cianci
Mar 21, 2025 â‹… 5 min read
View all posts

One Reply to "Build an accessible modal with focus-trap-react"

  1. My major issue with this focus-trap is the fact that it is unable to focus back to the container who owns `tabindex=0`

Leave a Reply