Wrote up some notes on Clay, a fascinating ~2,000 line dependency-free C layout engine project that can be (inadvisably) run via WebAssembly to define the front-end of a website entirely in C https://simonwillison.net/2024/Dec/21/clay-ui-library/
Wrote up some notes on Clay, a fascinating ~2,000 line dependency-free C layout engine project that can be (inadvisably) run via WebAssembly to define the front-end of a website entirely in C https://simonwillison.net/2024/Dec/21/clay-ui-library/ 5 comments
@simon Another thing that is annoying about it is that on mobile if you have extensions to darken the page, they don’t work when in the canvas version. |
@simon
> and it's not clear to me what the accessibility implications are.
The accessibility implications are as serious as you might guess. The links aren't properly labeled, there's no semantic markup such as headings, and since there's a div for every line, continuous reading with a screen reader is choppy, that is, it pauses at the end of every physical line.