What is the problem?
The aria-label, which is designed to make the Phonos button accessible to screenreaders, is not being read by NVDA or Orca screenreaders.
I think this is because it is used in the <span> element, which apparently will not work reliably.
The aria-label is read by Mac's VoiceOver.
Steps to reproduce problem
- Install NVDA or Orca screenreaders
- Turn the screenreader on
- Go to https://en.wikipedia.beta.wmflabs.org/wiki/Phonos_Natural
- Tab to the Phonos button
Expected behavior: The screenreader speaks "Listen to the IPA pronunciation of appalachia" (it will probably say lots of other things as well).
Observed behavior: The screenreader does not say that specific sentence.
Environment
Screenreaders:
- NVDA (I don't know which version) on Chrome 109 on Windows 11 (emulated in Browserstack)
- Orca 3.30.1 Debian Buster Firefox 102
- VoiceOver Mac Monterey Safari 15.6 (emulated in Browserstack) (it does work on this)
Wiki(s): https://en.wikipedia.beta.wmflabs.org Phonos 0.1.0 (1223d26) 03:47, 25 January 2023.