Re:Ask HN: Hacker News comment tree indentation on text-base...
by greggturkington on Friday February 05, 2021 @08:23PM
(#26043249)
> If nobody notices any side-effects of a bad design
Lots of people notice, like OP and anyone using assistive technologies. So by your logic, it is bad design.
Lists should be marked up as lists, tabular data marked up as tables. We ended this debate in...1996?
Re:Ask HN: Hacker News comment tree indentation on text-base...
by SirLotsaLocks on Saturday February 06, 2021 @02:24AM
(#26044820)
Yeah I wonder how this affects assistive technologies.
Re:Ask HN: Hacker News comment tree indentation on text-base...
by livre on Friday February 05, 2021 @08:20PM
(#26043231)
> current 'best practice' (using CSS classes with margins)
If comments are nested unordered lists, why isn't the best practice a bunch of ul and li tags styled with CSS?
Re:Ask HN: Hacker News comment tree indentation on text-base...
by GekkePrutser on Saturday February 06, 2021 @12:38PM
(#26048199)
Good point!
The text-browser point made by the OP is the first that ran into this however most text browsers don't render the current 'best practice' (using CSS classes with margins) correctly either.