You are also exhibiting a web bias here; a lot of design work doesn't occur for the web. Should a designer for mobile learn ObjC or Java since that is what is used to implement their designs? And god forbid the designers that work on AutoCAD; must they really learn about C++ while they are becoming experts on CAD?
Many IxDs that I've met are trained programmers and architects (though my wife is an IxD trained in visual design). Even the ex-programmers have no chance to program (our company tends to have more design work than designers, and enough programmers). I haven't noticed any difference in design quality between the ex-programmers and ex-architects (but that was mobile, not web).
On the other hand, I have also met some good researcher-style designers who get their hands dirty with design-oriented programming platforms like processing and arduino in their more open ended projects. This is sort of a different style of designer beyond professional, though (professional designers just don't have much opportunity to go this route).