Re:Pylon – Declarative layout primitives for CSS and HTML
by madeofpalk on Tuesday June 11, 2019 @11:01AM
(#20156006)
"Screen reader pedantry" sure is a pretty abrasive way of describing creating websites for people.
[ Parent
| on HN ]
Re:Pylon – Declarative layout primitives for CSS and HTML
by pjc50 on Tuesday June 11, 2019 @11:17AM
(#20156165)
You're right, it's unnecessarily abrasive. But it is, as far as I can tell, a very minority use case, and these days most of the reader software has adapted. If you see some of the DOM horrors inflicted by Facebook, then suddenly tables look positively readable.
Perhaps what should have happened was the defining of a "table-layout" tag that behaves exactly the same as "table" except it's understood to be for visual presentation only. Flexbox almost achieves this, but for some reason isn't as popular.
Re:Pylon – Declarative layout primitives for CSS and HTML
by okcando on Wednesday June 12, 2019 @08:31AM
(#20163838)
There is such a thing in CSS. Display: table, table-cell, etc. It's supposed to make content render exactly as if it were cast in an Html table.