Very nice article and so true. For the modal component there is dialog but support isn't great, basically just in blink browsers.
I like using inert which is supported in literally 0 browsers so I have to polyfill it. I do hope it gets supported though. It just makes so much sense.
On a side note when you do code snippets if you include the language you're using you will get syntax highlighting, like this.
Very nice article and so true. For the modal component there is dialog but support isn't great, basically just in blink browsers.
I like using inert which is supported in literally 0 browsers so I have to polyfill it. I do hope it gets supported though. It just makes so much sense.
On a side note when you do code snippets if you include the language you're using you will get syntax highlighting, like this.
Example of actual code.
What's the polyfill?
Plus
disabled
and/ortabindex="-1"
?I use a JS one from WICG
github.com/WICG/inert