Links
Container Queries and Units
Container queries are similar to media queries but allow you set styles based on a particular element’s current size, typically the width. This is super handy because you can write CSS in a way that gives flexibility to the layout!
About subgrid and colored grid lines
For me, subgrid is the missing piece for my mental model to fully embrace grid. For example, a classic 12 column grid can be created once for the whole page, and we can then lay out our items in there, no matter how deeply they are nested in the DOM.
New CSS Viewport Units Do Not Solve The Classic Scrollbar Problem
Since the introduction of CSS viewport units in 2012, many of us have been using
width: 100vw
as a way to set an element’s width to the full width of the viewport. But, as Šime Vidas explains in this deep dive,100vw
does not always represent the full width of the viewport due to differences in how browsers handle scrollbars.
Baseline Does Not Really Cover Baseline Support
The relatively new Web Platform Baseline offering does not track browser support for accessibility features built into the web platform. If you need to understand whether browsers support accessibility features as your own base level set of requirements, for legal or other compliance reasons, then Web Platform Baseline does not represent a baseline.
The Top Accessibility Errors Found in 2023
TPGi’s accessibility experts have been busy this year, identifying thousands of accessibility errors through manual and automated testing. From all those results, the following 10 issues were the most commonly found by our ARC automation tools. We hope this list helps guide your team to avoid some of this year’s most common barriers. Cheers to another year of making things accessible!
Videos
FLIP no more; Viva View Transitions by Adam Argyle
Transitioning elements across the DOM tree, DOM tree mods, or even dynamic positioning like animating stacked notifications as they pour in are all things that require the FLIP (first last invert play) technique. Not anymore, View Transitions have entered the ring, and they're faster, stronger and have rad tricks up their sleeve.
Sponsor
Sponsored by Cloud Four
Thanks to Cloud Four for sponsoring this week’s newsletter! They solve complex responsive web design and development challenges for ecommerce, healthcare, fashion, B2B, SaaS, and nonprofit organizations.
If you’d like to help with the costs of running Friday Front-End, you can back our Patreon for as little as a dollar a month.