Everything on accessibility.
3 articles tagged accessibility, sorted newest first.
Tailwind's Scrollbar Utilities: Styling Overflow Without a Plugin
Tailwind v4.3 ships first-party scrollbar-width, scrollbar-color and scrollbar-gutter utilities. Here is what they can do, what they cannot, and the one class that fixes the page jumping when a modal opens.
Tailwind v4 pointer-* Variants: Sizing Touch Targets by Input Device, Not Screen Width
Using md: as a stand-in for touch breaks on touchscreen laptops and desktop-mode tablets. Tailwind's pointer-* variants read the actual input device — here is the compiled CSS for each one and the patterns worth adopting.
Style State with Tailwind v4 data-* and aria-* Variants
Open, closed, loading, selected — each state ends up as another ternary in a `:class` string. Tailwind v4 lets you toggle one attribute and style it with a variant instead.