Are vision defects hereditary?

Depends on type. Color vision defect is usually hereditary but can be affected by various meds including some anti-inflammatories, cancer agents, blood pressure meds, pr even aftergastric bypass. In addition recreational drugs can also be problematic. There are other eye diseases that can cause defects.