logoalt Hacker News

slicesyesterday at 8:17 PM4 repliesview on HN

really? I have yet to see fable or 5.6 reliably generate front end code with correct a11y, for one thing -- does that not matter to the work you do?


Replies

wuhhhyesterday at 8:47 PM

It does matter, but how long do you think it takes to get right? It's a follow up prompt or a few tweaks by hand. I also have an /a11y skill for it that's tailored to exactly the things it sometimes doesn't get right first time round. Further, while it may not one-shot that stuff every time, with a little setup and the right AGENTS/CLAUDE md - it's usually not far off.

Another thing that helps is pointing it to patterns in an existing codebase (e.g. "use the box-link pattern for cards, as shown in [..]").

EDIT: The point being that even if they make mistakes that are easy to spot and fix _now_, you'd have to assume that in the very near future those kinks will be ironed out - I mean, the capabilities are only going in one direction.

morbiceryesterday at 8:51 PM

In 20 years of my career I haven't seen humans generate correct a11y. When prompted and given quality reference (e.g. UK gov design system) LLMs can nowadays beat 19 out of 20 web devs.

Thanks out can also hook it to Playwright with Axe and let it run assessments.

motoxprotoday at 5:55 AM

I find this hard to believe. All I have to do is give it an example and tell it to go through and add it to the repo and it does it.

aenistoday at 4:20 AM

It does, when you explicitly ask you to do it. Hence the need for experienced devs running those models.