Alex Z
Mar 23, 2022

--

Thanks Hernan for the feedback.

As I said to Jason, you should absolutely be putting a semantic tag like <form> or <section> inside the dialog component to give it semantic value. Support for the <dialog> is growing, and I hope that as it grows in use + popularity we see it growing with features like - non-JS triggering, focus-trapping, screen-reader compatibility etc.

--

--

Alex Z
Alex Z

Written by Alex Z

Software Developer + Product Manager. Interested in Travel, Culture, Economics and the Internet. Join Medium: https://tinycode.medium.com/membership

No responses yet