Be that as it may, that merely means that elves have better vision compared to humans. An elf might still have poorer eyesight than elves typically have, and wish to correct that with glasses. I assume that the structural eye issues that affect vision in humans can exist in other species too. There probably are hawks with "poor vision" for a hawk, even though that poor vision might still be better than human vision. Now hawks have hard time accessing eye glasses, but that's not necessarily true for elves.
And ultimately in a game this glasses thing is really about aesthetics and representation. If a person wants their nerdy elf to have glasses in a setting where that technology exists because they think that fits the imagery they want, let them!
And be that as it may. I feel it is unnecessary to quibble about how excellent excellent is.
The "nerdy Elf" can where eyeglasses, because there are eyeglasses that are magic items.
For example.
High tier glasses might be a pair of Gems of Seeing, a powerful magic item.
Glasses that See Invisibility.
Glasses that Detect Good/Evil (Planar Origin).
Glasses that see into Material, Ethereal, Fey, and Shadow, simultaneously.
Glasses of Clairvoyance.
Glasses of Arcane Eye.
Glasses of Scrying.
Glasses that communicate two-way while projecting an image of oneself remotely.
Glasses that Read Languages.
Glasses that display a spellbook as an overlay.
Glasses that display History checks as an overlay.
Glasses that see an aura of attitude, Friendly, Neutral, Hostile.
Glasses that see Hit Points and health status.
Glasses that detect degree of wealth or poverty.
Glasses that see thru doors.
Glasses of Beast Sight, to look thru the senses of nearby animals.
Glasses of Locate Creature.
Glasses of Detect Minerals.
Glasses of Detect Traps and Hazards.
Glasses of Counterspell.
Glasses of Detect Magic. Tho this, I feel, every Elf should have, along with Advantage in Arcana checks.
I feel Elves shouldnt automatically exhibit Darkvision. Some cultures magically gain it, like Drow and Wood. Other Elves lack it and might wear glasses that have Darkvision.
There are many reasons for an Elf to look nerdy.