Safari Technology Preview 242: Enhanced CSS Capabilities and Key Fixes

Introduction

Apple has released Safari Technology Preview 242, available for download on macOS Tahoe and macOS Sequoia. Existing users can update via System Settings → General → Software Update. This build incorporates WebKit changes from revision 310187 to 310599, bringing a host of improvements in accessibility, CSS, forms, HTML, and image handling.

Safari Technology Preview 242: Enhanced CSS Capabilities and Key Fixes
Source: webkit.org

Accessibility Enhancements

VoiceOver Fix

A resolved issue ensures that VoiceOver no longer reads text within images that have role="presentation", improving screen reader behavior for decorative images.

Customizable Select Elements

macOS accessibility support for customizable <select> elements using appearance: base-select has been fixed, enhancing the usability of styled dropdowns for assistive technologies.

CSS Improvements

New CSS attr() Function

Support has been added for the attr() function from CSS Values Level 5, allowing developers to retrieve attribute values directly in CSS—a powerful tool for dynamic styling.

Font Synthesis Style: oblique-only

The oblique-only value for font-synthesis-style is now supported, as defined in CSS Fonts Level 4, giving designers finer control over font rendering.

Resolved CSS Issues

Forms Fixes

<select multiple> now reliably fires the onchange event when the mouse button is released far outside the element, improving form interaction.

HTML Updates

New closedby Attribute for Dialogs

Support has been added for the closedby attribute on <dialog> elements, providing a standardized way to control dialog dismissal behavior.

HTML Parser Fixes

Image Handling

An issue where inserting an image with a srcset attribute could cause rendering errors has been resolved, ensuring smoother responsive image loading.

Conclusion

Safari Technology Preview 242 continues Apple’s commitment to web standards and developer experience. With new CSS capabilities, accessibility refinements, and numerous bug fixes, this release helps create a more robust and consistent browsing environment. Developers and early adopters are encouraged to test their sites with this build and provide feedback.

Tags:

Recommended

Discover More

May Brings 16 New Titles to GeForce NOW, Plus Enhanced RTX 5080 Power for Ultimate MembersStrengthening Digital Fortresses: Meta's Advances in End-to-End Encrypted Backup SecurityHow to Transform Your PlayStation 5 into a Linux Gaming Machine: A Step-by-Step GuideBRICKSTORM Malware Targets VMware vSphere: Urgent Hardening Guide for DefendersBuilding Better Preschools: A Step-by-Step Guide to Balancing Funding and Quality