Barebones, unstyled React Typescript Modal Dialog component that adhers to WCAG and WAI-ARIA specifications for accessibility including color contrast for low-vision users, and accessible labels, keyboard navigation, and focus state management for keyboard-only users.
npm i a11y-gigachad-modal --save-dev
import { Modal, type ModalProps } from 'a11y-gigachad-modal'
https://codesandbox.io/s/a11y-gigachad-modal-ybi4d1
For any ideas or questions, head over to the disscussions to share them there.
For any bugs, missing documentation, or unexpected behavior head over to the issues to file them there.