Thanks for sharing! It looks surprisingly simple to put that together. I think one thing worth adding at the end is that this component still has some ways to go in terms of accessibility. In particular, it needs to manage focus trapping while open.
This is understandably too much to fully cover in a post about tailwind and Vue, but useful as a note to ensure it isn’t used in production where it may make a site inaccessible to some users.
Thanks for sharing! It looks surprisingly simple to put that together. I think one thing worth adding at the end is that this component still has some ways to go in terms of accessibility. In particular, it needs to manage focus trapping while open.
This is understandably too much to fully cover in a post about tailwind and Vue, but useful as a note to ensure it isn’t used in production where it may make a site inaccessible to some users.
w3.org/TR/wai-aria-practices-1.1/e...