homonyms are words which are either homographs—words that mean different things but have the same spelling (regardless of pronunciation)—or homophones—words that mean different things but have the same pronunciation (regardless of spelling).
A more restrictive and technical definition requires that homonyms be simultaneously homographs and homophones
I read that, but then the actual wiki for homophone notes that the use of homonym you cite is actually a more modern usage, and is not technically correct (see the citation for both of those claims in the respective wiki articles)
https://en.wikipedia.org/wiki/Homonym
I read that, but then the actual wiki for homophone notes that the use of homonym you cite is actually a more modern usage, and is not technically correct (see the citation for both of those claims in the respective wiki articles)