Web development Blog

A blog about web development, HTML, CSS, JavaScript, and web accessibility.

Progressively enhancing Grid Lanes

posted on

This post is a follow-up on my previous post. I was wondering whether it's safe to use Grid Lanes today. I came up with a solution I find okay, but there is a caveat.

Keep reading

Your Grid Lanes will likely fail WCAG 2.4.3

posted on

I saw a great introduction to CSS Grid Lanes, aka Masonry Layouts, by Patrick Brosset at CSS Day 2026. I liked the versatility of its use cases, but I was also concerned that it's inaccessible by default.

Keep reading

Setting the width of selects to the width of the selected option

posted on

The field-sizing property is coming to Firefox 152, making it available across all major engines. It allows you to control the sizing behavior of elements with a default preferred size, such as form elements.

Keep reading

More posts

  1. Zen, Zed, and Zits

  2. Context-aware headings in HTML

  3. Don't put aria-label on generic elements like divs

  4. box-shadow is no alternative to outline

  5. The geolocation element is odd

  6. Your skip link targets may not need tabindex=-1 to work properly

  7. role=presentation is no alternative for aria-hidden=true

  8. Put aria-hidden=true on decorative SVGs

  9. aria-haspopup might not do what you think it does

  10. A new meta tag for respecting text scaling on mobile

  11. Introduction to the new HTML element <geolocation>

  12. Lowering the specificity of multiple rules at once

  13. My favourite front-end and web development conferences

  14. Better defaults for popovers

  15. Workshop: Deep Dive on Accessibility Testing