Hacker News new | ask | show | jobs
by diegof79 2516 days ago
The situation of <dialog> is different. Most of the modal dialog implementations don’t have focus trap which is a problem for accessibility. I’m ok with the tag in that case, the combination of aria-hidden/tabindex tweaks required to do a proper modal dialog is too hacky and bug prone. (Perhaps a better focus handling model will be much better than the tag)