Re:Mvp.css – build your landing page with only semantic HTML
by rileymat2 on Saturday November 21, 2020 @02:23AM
(#25168328)
When I think of semantic html, I think of lots of classes, but they describe the content instead of the presentation. Maybe I am thinking of an out of date defintion?
[ Parent
| on HN ]
Re:Mvp.css – build your landing page with only semantic HTML
by httpsterio on Saturday November 21, 2020 @02:37AM
(#25168361)
No, I share your sentiment and I work in the accessibility space myself. Presentation should always follow the content, presentation is always secondary and it needs to be flexible.
In cases of (color)blindness, vision loss or cataract, deafness, vertigo etc. the presentation needs to adapt to the user needs while ideally presenting the same content.
With OP's stylesheet it is possible to create a visual representation that is flexible and robust, but the classlessness nature makes it impossible to support certain type of content altogether.
Re:Mvp.css – build your landing page with only semantic HTML
by larsga on Saturday November 21, 2020 @04:55AM
(#25168753)
The elements defined in HTML have meanings. That's the semantics. If you use the elements according to the meanings defined in the standard, then your markup is semantic. Whether you use lots of classes is neither here nor there, although how you use the classes matters.