I think visor_cap or sports_visor (going by wikipedia) would probably be better. While we might have few or no images of it, apparently "sun visor" can refer to a lot of other things, particularly parts on and in a cars and other vehicles, as well as specific internal and external visors in helmets designed specifically to shade the eyes from sun.