Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Modal dialogs without React (or JavaScript) (laktek.com)
2 points by laktek 43 days ago | hide | past | favorite | 1 comment


We had an accessibility review last winter where we were getting complaints that our React-based modals were not completely hiding content from accessibility checkers and screen readers. <dialog> turned out to be a great solution when we rebuilt our <Modal>(s) around them. There is a little mismatch between the edge-triggered events of the <dialog> and the way React wants to be level-triggered but it was not hard to reconcile.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: