Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Code it correctly: Is “sidebar” really an appropriate id name? Re: Code it correctly: Is “sidebar” really an appropriate id name?

#103320
Senff
Participant

@joshuanhibbert That’s a good point — I didn’t initially! Technically, the sidebar might end up at the bottom indeed (on smaller screens), but I still think it’s an appropriate name.

I guess because it will usually appear on the side on “default” screens and not on “alternative” screens (eh, yea, I know, that’s a tricky thing to say nowadays), but also because naming it “not-main-content” makes less sense, so to speak! ;)

I agree with you though, its purpose has not much to do with classnames and ids.