| ▲ | icedrift 9 hours ago | |||||||||||||||||||||||||||||||||||||||||||
Mainly because it isn't semantic and breaks accessibility features. If you find yourself writing layouts like this you're probably ignoring a bunch of useful stuff like <aside> <article> <menu> etc. Unless you manually configure it yourself, screen readers won't know what's important to read, tabindex won't know where to jump around, and form fields won't know what values to offer. | ||||||||||||||||||||||||||||||||||||||||||||
| ▲ | zahlman 8 hours ago | parent [-] | |||||||||||||||||||||||||||||||||||||||||||
> isn't semantic It's certainly better than calling everything a div. > breaks accessibility features I don't know if I'd call it breakage to just... not use them where they should be used. Of course if a real tag exists that adequately matches the author's intent, that should be preferred over a made-up one. | ||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||