Page MenuHomePhabricator

Phonos button has no tooltip
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Preview <phonos file="Example.ogg"/>
  • Hover your mouse cursor over the speaker icon

What happens?:
Nothing except the cursor changes to a pointer.

What should have happened instead?:
A tooltip indicating what clicking it will do appears.

It's great that it has the aria-label "Play audio", but for sighted readers the lack of any indication of what clicking it will do is quite confusing.

QA Results - Beta

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald Transcript

Change 957826 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/Phonos@master] PhonosButton: add tooltip, using the same message as the aria-label

https://gerrit.wikimedia.org/r/957826

Change 957826 merged by jenkins-bot:

[mediawiki/extensions/Phonos@master] PhonosButton: add tooltip, using the same message as the aria-label

https://gerrit.wikimedia.org/r/957826

GMikesell-WMF subscribed.

@MusikAnimal Besides the accessibility from zooming in, the tooltip indicating what clicking it will do does appear. I will move this to Done and let me know if I should create a ticket on the zoom accessibility font being small. Thanks for all your work!

Status:โœ… Pass
Environment: Beta: 1.41.0-alpha (d1368ff)
OS: macOS Ventura
Browser: Chrome 117, Firefox 117, Safari 16.6
Device: MBA M2
Emulated Device:: N/A
Test Links:
https://en.wikipedia.beta.wmflabs.org/wiki/Phonos_testGM

โœ…AC1: https://phabricator.wikimedia.org/T346193

2023-09-20_15-09-44.png (369ร—1 px, 69 KB)

Possible Issue- This is more on the accessibility issue. Do you think it's fine the "play audio" stays the same size even if you zoom in or make it bigger for those people who have a hard time reading small fonts?

2023-09-20_15-19-40.png (841ร—1 px, 135 KB)