Menu

#Fafafa

37 posts

Feed·
20 of 37 posts
I weighed every character on our site by its contrast ratio, and 39.5 per cent of them fail
📰
0Read More

I weighed every character on our site by its contrast ratio, and 39.5 per cent of them fail

DEV Community: css·Daniel Pertu·about 9 hours ago
#FOTgiphK
#devtocss#devto#dev#fafafa#characters

A per-character contrast census of 38 live pages, with the real background resolved for each text node instead of assumed. 214,160 characters, 36 colour and background pairs, 84,508 characters below their WCAG AA threshold, and one grey that an element…

15s
Our site and our desktop app use 58 colours between them and share 15, and three the site owns alone are a fake window's traffic lights
📰
0Read More

Our site and our desktop app use 58 colours between them and share 15, and three the site owns alone are a fake window's traffic lights

DEV Community: css·Daniel Pertu·2 days ago
#nWA2KfyC
#devtocss#devto#dev#fafafa#enter

Same product, same designer, two surfaces. I counted every hex code in the served website and in the Electron renderer. The neutral ramp matches, the status accents half match, the website ships three typefaces and the app ships none, and the three…

15s
52 outbound links, three rel policies nobody wrote down, and the only four we let pass link equity are our own apps
📰
0Read More

52 outbound links, three rel policies nobody wrote down, and the only four we let pass link equity are our own apps

DEV Community: html·Daniel Pertu·4 days ago
#4grZXdtS
#devto2#devto#dev#fafafa#noopener

I had counted our citations and status-checked them. I had never read their attributes. Doing that recovered an outbound link policy I never wrote, including two omissions that are the exact mirror image of each other.

15s
I grepped all 38 pages of our site for accessibility: one h1 each, 1,091 links with names, and a focus ring at 1.82:1
📰
0Read More

I grepped all 38 pages of our site for accessibility: one h1 each, 1,091 links with names, and a focus ring at 1.82:1

DEV Community: nextjs·Daniel Pertu·5 days ago
#wFsGEkww
#devtonextjs#devto#dev#fafafa#focus

A census of the deployed HTML rather than a Lighthouse score. Everything structural passed. Everything that depends on a colour or a label failed, including 546 links at 2.53:1 contrast.

15s
Our third most used colour is #a3a3a3, 138 times, and the Tailwind we install does not have it any more
📰
0Read More

Our third most used colour is #a3a3a3, 138 times, and the Tailwind we install does not have it any more

DEV Community: css·Daniel Pertu·6 days ago
#wrN2jaU8
#devtocss#devto#dev#fafafa#neutral

A census of 1,216 hex literals across a Next.js site, an Electron UI and seven email templates. Nine of the 62 values are a Tailwind ramp, and one rung of it moved under us.

15s
Build a Simple E-commerce MVP with AI: A Step-by-Step Guide
📰
0Read More

Build a Simple E-commerce MVP with AI: A Step-by-Step Guide

DEV Community: dotnet·Naimul Karim·7 days ago
#Qf93Ff6v
#devtodotnet#devto#dev#fafafa#claude

Write five documents first, then let Claude Code build an Angular and ASP.NET Core app. Every prompt I use, from idea to deployment.

15s
Designing Autism-Friendly Websites: Accessibility Principles Every Developer Should Know
📰
0Read More

Designing Autism-Friendly Websites: Accessibility Principles Every Developer Should Know

DEV Community: frontend·AutismCue·7 days ago
#yWPFdCMF
#devtofrontend#devto#dev#fafafa#motion

Most of us have shipped a feature that looked great in a demo and felt exhausting in real use. An...

15s
Our stylesheet contains no hex codes, our social card contains five, and our one email contains seven the stylesheet has never heard of
📰
0Read More

Our stylesheet contains no hex codes, our social card contains five, and our one email contains seven the stylesheet has never heard of

DEV Community: css·Daniel Pertu·17 days ago
#HnUkTQnl
#devtocss#devto#dev#fafafa#card

Three surfaces render PubTrivia's brand and each one spells it differently. 72 HSL triplets and zero hex in the CSS, five hand-copied hex constants in the Satori card including an accent colour that exists nowhere else in the product, and a seven-colour…

15s
We call notFound() four times and never wrote the page it lands on, and the default has zero links
📰
0Read More

We call notFound() four times and never wrote the page it lands on, and the default has zero links

DEV Community: react·Daniel Pertu·17 days ago
#b0Vu8AID
#devtoreact#devto#dev#fafafa#error

Four dynamic routes on our site call notFound(), there is no not-found.tsx in the repository, and the page Next serves instead carries 13 KB, seven scripts, two title tags and no way back.…

15s
Our Electron UI has 37 buttons, 8 aria attributes and one Escape handler, and the modal is not a dialog
📰
0Read More

Our Electron UI has 37 buttons, 8 aria attributes and one Escape handler, and the modal is not a dialog

DEV Community: react·Daniel Pertu·17 days ago
#wyvw7Pr7
#devtoreact#devto#dev#fafafa#aria

An accessibility audit of a desktop app's own renderer, not a website. All 37 buttons carry a real label and the tabs are marked up properly, then the login modal traps nothing, announces nothing and cannot be dismissed with a key.

15s
The only string in our alert email that nobody on our side wrote, and the four characters standing in front of it
📰
0Read More

The only string in our alert email that nobody on our side wrote, and the four characters standing in front of it

DEV Community: node·Daniel Pertu·19 days ago
#1McPbC2f
#devtonodejs#devto#dev#fafafa#string

A listing title comes off somebody else's page, crosses a desktop app, a licence-checked API and an email provider, and lands in a user's inbox inside hand-built HTML.…

15s
Five of our colour tokens were never registered as colours, so eight classes using them match nothing in the stylesheet
📰
0Read More

Five of our colour tokens were never registered as colours, so eight classes using them match nothing in the stylesheet

DEV Community: css·Daniel Pertu·19 days ago
#Xyu0hvhD
#devtocss#devto#dev#fafafa#foreground

Tailwind v4 with no config file, 24 semantic tokens in :root and .dark, and only 19 of them mapped into @theme. The five that were not still resolve as custom properties, which is exactly why a bg-chart-2/10 that generates no CSS went unnoticed.…

15s
Alternatives to Tailwind CSS: Name the Complaint First
📰
0Read More

Alternatives to Tailwind CSS: Name the Complaint First

DEV Community: frontend·Qasim Parray·22 days ago
#fP2eOnyF
#devtofrontend#devto#dev#fafafa#card

Looking for alternatives to Tailwind CSS? Name your actual complaint first. Native CSS, UnoCSS, Panda, CSS Modules and vanilla-extract fix different o

15s
Three of the five text colours in our alert emails fail WCAG AA, and the one that tells you which search it came from is 2.29:1
📰
0Read More

Three of the five text colours in our alert emails fail WCAG AA, and the one that tells you which search it came from is 2.29:1

DEV Community: typescript·Daniel Pertu·24 days ago
#8t7QEJQP
#devtotypescript#devto#dev#fafafa#xxxxxx

I measured every colour pair in our four email templates. The listing title is 17:1. The search name above it, the listing URL under it, and the one instruction in the message are all 2.29:1 or worse, at 11 and 12 pixels.

15s
Gmail clips a message at 102KB, and our alert email runs out of room between 136 and 208 listings
📰
0Read More

Gmail clips a message at 102KB, and our alert email runs out of room between 136 and 208 listings

DEV Community: typescript·Daniel Pertu·24 days ago
#1iqZGTUX
#devtotypescript#devto#dev#fafafa#email

I measured our own template. 1,656 bytes of document, 237 per search section, 333 per listing row, plus the title once and the URL twice. The ceiling that saves us is in a different file and was put there for another reason.

15s
Tailwind v4 Design Tokens: Colors, Dark Mode and Contrast
🖼️
0Read More

Tailwind v4 Design Tokens: Colors, Dark Mode and Contrast

DEV Community: css·Serban Dan Rusu·28 days ago
#pkXuZUlm
#devtocss#devto#dev#ebebeb#fafafa

Tailwind v4 design tokens from a production React library: @theme inline, semantic surfaces, status colors, dark mode and a contrast check you can run in CI.

15s