DEV Community

Discussion on: Accessibility for the web - why we should use semantic HTML

Collapse
 
sid7 profile image
Suyash

HTML had semantics even before HTML5 new semantic tags via WAI-ARIA Roles attributes and some of these new tags also brought new native capabilities (like accordion with details & summary). Also class or id doesn't change the semantic meaning of the tag, div with id or class of footer will still have generic semantic.