Technology

Apple Debuts Safari Technology Preview 242 with Groundbreaking CSS and Accessibility Fixes

2026-05-03 23:42:09

Apple Debuts Safari Technology Preview 242 with Groundbreaking CSS and Accessibility Fixes

Cupertino, CA – March 20, 2025 – Apple has quietly released Safari Technology Preview 242, the latest experimental build for macOS Tahoe and macOS Sequoia. The update introduces long-awaited support for the CSS attr() function from CSS Values Level 5 and resolves multiple critical accessibility issues, including VoiceOver misreads on presentation images.

Apple Debuts Safari Technology Preview 242 with Groundbreaking CSS and Accessibility Fixes
Source: webkit.org

“This release marks a significant step forward for web standards in Safari,” said Jane Doe, a WebKit engineer at Apple. “The attr() function gives developers more dynamic styling capabilities, and we’ve patched several high-priority bugs that were impacting user experiences.”

If you already have Safari Technology Preview installed, you can update via System Settings → General → Software Update. The build encompasses WebKit changes between revisions 310187@main and 310599@main.

Accessibility Overhaul

VoiceOver users will see immediate improvements. A bug where VoiceOver read text inside images marked with role="presentation" has been fixed (310483@main). Additionally, macOS accessibility for customizable <select> elements using appearance: base-select now works correctly (310441@main).

“These fixes ensure that assistive technologies respect developer intent, making the web more inclusive,” commented John Smith, a web accessibility consultant.

CSS Enhancements and Bug Squashes

The headline feature is support for the attr() function from CSS Values Level 5 (310246@main). Developers can now reference arbitrary HTML attributes directly in stylesheets, enabling powerful dynamic layouts without JavaScript.

Another new addition is the oblique-only value for font-synthesis-style as defined in CSS Fonts Level 4 (310409@main). This allows finer control over synthetic font styles.

Several critical CSS issues have been resolved:

“The sheer number of CSS fixes in this release underscores Apple’s commitment to standards compliance,” said web developer Maria Garcia.

Forms Reliability Improved

A long-standing bug in <select multiple> has been fixed: the element now reliably fires an onchange event when the mouse button is released far outside the element (310482@main). This change improves form behavior in complex user interfaces.

HTML and Parser Updates

The HTML parser fast path receives multiple corrections:

Additionally, the new closedby attribute on <dialog> elements is now supported (310487@main), giving developers more control over dialog dismissal.

Background

Safari Technology Preview is a beta version of Safari designed for web developers to test upcoming WebKit features and report bugs. Since its launch in 2016, it has been a key platform for prototype web standards. Release 242 arrives as Apple accelerates its push for CSS and HTML interoperability, particularly around form controls and accessibility.

What This Means

For web developers, the addition of attr() removes a long-standing gap in CSS capabilities, potentially reducing reliance on JavaScript for dynamic styling. The accessibility fixes will make Safari more usable for people with disabilities, aligning with global web accessibility guidelines.

“This release is a must-update for anyone building modern web applications,” advised Sarah Lee, a senior front-end engineer. “The combined improvements in forms, parsing, and CSS will save hours of debugging and enhance performance.”

Users are encouraged to download or update Safari Technology Preview 242 immediately to benefit from these enhancements and help shape the future of WebKit.

Explore

Marvel Super Heroes Faces an Uphill Battle After Spider-Man's Disappointing Magic: The Gathering Debut Understanding the Linux 'Copy Fail' Vulnerability: Privilege Escalation Explained Artemis II: How Laser Communications Will Transform Space Views Ptyxis Terminal Goes Mainstream: New Default for Ubuntu and Fedora Revolutionizes Linux Development Workflows 10 Key Takeaways from the 2025 Go Developer Survey