#inert

[ follow ]
#web-accessibility
fromCSS-Tricks
1 week ago
Web development

There is No Need to Trap Focus on a Dialog Element | CSS-Tricks

Using the native <dialog> element (and inert) removes the need to manually trap keyboard focus; focus-trapping is outdated when native dialog behavior is used.
fromCSS-Tricks
1 week ago
UX design

There is No Need to Trap Focus on a Dialog Element | CSS-Tricks

Using the native <dialog> element with showModal removes the need to trap focus; focus-trapping is outdated when dialog and inert are available.
[ Load more ]