What I don't fully understand is why you should especially pay attention to this in new buildings. Why shouldn't you pay special attention to it in old buildings, but in new buildings it's also important?
- Passive houses (new houses) have large south-facing windows to capture heat in winter. Even in normal new houses, the trend is towards large window surfaces (that's my impression). This was not the case to such an extent in the past.
- Thermal insulation in terms of the U-value practically only considers convective heat transfer, but not radiation. Regarding heat loss, radiation doesn't matter (the surface temperature is too low). With solar radiation, it's just the opposite; here the problem reduces to radiation, meaning the modern window practically does not "insulate" against this.
- To block radiation, windows could be coated/tinted, but ... see above "passive house" and the light transmission would also suffer.
Therefore, shading is necessary in order not to suffer in summer.
By the way: old building attic apartments are and have been very warm in summer (> 30 °C, at 10 p.m.). Ground floor apartments are significantly more protected (thick walls, trees in front of the house, etc.). And in the backyard ground floor apartment it never gets warmer than about 20 °C.