What Medicare does and does not pay for
Part B covers ophthalmology when it treats disease: cataract surgery, glaucoma testing for higher-risk patients, diabetic retinopathy screening, and injections for macular degeneration. Those are medical services, and they are covered on the same terms as any other Part B care.
What Part B does not cover is the routine refraction that produces a prescription, the lenses themselves, frames, or contacts. Glaucoma screening is covered only for people at higher risk, which means many patients pay for that test themselves unless a plan covers it.
