Latest Articles

Frontend Masters Staff on

Make your React web apps more accessible (two new courses)

Why should you spend the time making your web apps accessible? Not only are there legal and business reasons, but the biggest reason is it’s a civil right – we want *everyone* to be able to access our websites and web apps! “An inaccessible website can exclude people just as much as steps at an entrance to a physical location.” ~ADA.gov […]

Chris Coyier on

Streaming HTML

I admit I went pretty far in my web development career without understanding that Streamed HTML is a thing. And while I’m admitting things, I’m still not 100% sure when it’s an ideal solution and how best to take advantage of it. But knowing is half the battle sometimes, so let me get into some […]

Dave Rupert on

Safari Gets a Toggle Switch Input

Safari 17.4 dropped an interesting an unexpected feature, a native UI toggle switch control! It’s so new it’s not even in the HTML spec yet. While that might be a blocker for your project, you can use it today as a progressive enhancement on top of the standard <input type=”checkbox”>. Adding a switch attribute to […]

Ollie Williams on

Menus, toasts and more with the Popover API, the dialog element, invokers, anchor positioning and @starting-style

Dropdowns, menus, tooltips, comboboxes, toasts — the popover attribute will make building a large variety of UI components easier. The popover attribute can be used on any HTML element, so you have the flexibility to choose whichever element is most appropriate semantically for each particular use case. Unlike a dialog, a popover is always non-modal […]