Hacker News new | past | comments | ask | show | jobs | submit login

It's a common accessibility requirement. For example, WCAG suggests limiting the max width of blocks of text to ~80 characters (40 for CJK).

https://www.w3.org/TR/WCAG22/#visual-presentation




Aha, I was aware of the 80-character line limit for source code files, but wasn't aware it was a general accessibility recommendation. Thanks for the link!


Sure thing! I only know about it because I've worked on more AX bug reports related to text layout than I care to admit...

I think the 80 characters-per-line for code was a holdover from when IBM punch cards had 80 CPL, but I could be wrong there. I know American typewriters had about 80 CPL, so from a typography perspective maybe that's why 80 is the accessibility sweet-spot? If it's the ballpark equivalent to what we'd see on an 8.5x11 sheet of paper?




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: