@prozacchiwawa@functional.cafe
Post #2033000
2023-02-08 21:15 UTC
@matuzo divs are the happy little trees of html. it's your dom and they can be anything you want.
Replies (1)
-
@lispi314@mastodon.top 2023-02-10 15:46
@prozacchiwawa @matuzo As far as #accessibility goes, it takes more effort to turn divs into recognized elements than it does to just use the intended #semantic elements directly. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/button_role