Skip to main content

Safari 15.4

Posted in Accessibility, Apple, CSS and HTML

macOS 12.3 and iOS 15.4 landed yesterday, and with them came Safari 15.4 which brings some exciting new features. Here are the five that stood out to me:

  • CSS’s :focus-visible pseudo-class, which is now finally supported across all modern browsers
  • The loading="lazy" HTML attribute for images, which only loads images when they’re in or just-about-to-be-in the viewport
  • The native <dialog> element and its partner ::backdrop pseudo-element
  • The :has() pseudo-class, which essentially gives us a way to select a parent element in CSS! Let’s hope more browsers follow soon
  • The accent-color property, which allows us to style the default colours of form elements

Subscribe

I send a newsletter on the last day of every month, containing:

  • A roundup of the articles I’ve posted
  • A hot pick from my archives
  • Some interesting posts from around the web

I don’t collect any data on when, where or if people open the emails I send them. Your email will only be used to send you newsletters and will never be passed on. You can unsubscribe at any time.

More posts

Here are a couple more posts for you to enjoy. If that’s not enough, have a look at the full list.

  1. It’s good to make mistakes

    As a designer and developer I’ve made countless mistakes, but that’s part of the reason I’m good at what I do.

  2. Focus appearance explained

    There’s some great stuff coming up in WCAG 2.2, but there’s one rule that’s particularly difficult to understand, so here it is in a bit more detail.