DIVS! Gotta catch em all | Semantic component
I hate seeing div in div in div in div next to a div but, i really don't know what do i do with this..
any help is seriously priceless!
https://codepen.io/thecubiq/pen/qBvaYYL
3 Replies
well my question to you is: do you want someone to be able to tab to it?
or is it something that is only presentation?
well for me semantic html is more about readibility, i dont like divs where they wouldn't have to be lol, i know that in the traditional term it is about accessibility but in my case, i just wanna make sure that it could have been done prettier than that.. it helps me then writing much simpler css selectors as well :) but i guess that in this case im gonna have to deal with just div in a div in a div..
if it's only for presentation, div and span are actually the correct semantic choice