Re:The right tag for the job: why you should use semantic HTML
by shadowofneptune on Sunday June 06, 2021 @03:17PM
(#27415506)
It would be equal effort to restyle something done with ARIA compared to a semantic element, yes?
[ Parent
| on HN ]
Re:The right tag for the job: why you should use semantic HTML
by admax88q on Sunday June 06, 2021 @03:19PM
(#27415519)
Depends on the element, the select and input elements are notoriously difficult to style, which is why people often remake them with divs and JS.
Combo boxes are a fucking nightmare to style, as are checkboxes and radios. Buttons arnt as bad, but you still spend a lot of time fighting against browser defaults which differ across browsers.