Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio player has multiple functions, but only the player function is communicated to the user #500

Open
1 task
obulat opened this issue Sep 22, 2022 · 1 comment
Labels
♿️ aspect: a11y Concerns related to the project's accessibility ✨ goal: improvement Improvement to an existing user-facing feature 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: frontend Related to the Nuxt frontend
Projects

Comments

@obulat
Copy link
Contributor

obulat commented Sep 22, 2022

Problem

The player focus has different behavior depending on whether you hit ‘Enter’ or ‘Space’. Space plays the track, Enter opens the track’s page. A single control should not have multiple functions, and only the player function is communicated to the user. The mapping of behaviors is extremely complicated for an interface that practically speaking consists of only three controls: a play button, a link, and a slider to control the audio position. Instead, what I’m seeing is an anchor element that’s been re-mapped to a slider aria-role and the application role. Only one of these behaviors is communicated to a screen reader.

Description

The use of the application role overrides all native functionality, so a user doesn’t come to this with any expectations. However, expectations are useful for keyboard and screen reader users, as it makes interactions more predictable. This means that the only recourse in this interface currently is for users to guess at interactions.

Additional context

Reported by Joe Dolson (https://make.wordpress.org/openverse/2022/09/07/frontend-release-v3-4-8-and-a-call-for-a11y-testing/#comment-95)

Implementation

  • 🙋 I would be interested in implementing this feature.
@obulat obulat added 🟨 priority: medium Not blocking but should be addressed soon ✨ goal: improvement Improvement to an existing user-facing feature ♿️ aspect: a11y Concerns related to the project's accessibility design: needed Needs a designer's touch before implementation can begin labels Sep 22, 2022
@obulat obulat transferred this issue from WordPress/openverse-frontend Feb 22, 2023
@obulat obulat added the 🧱 stack: frontend Related to the Nuxt frontend label Feb 22, 2023
@fcoveram
Copy link
Contributor

I do not understand the design request correctly. What do we need to address visually for this use case?

@fcoveram fcoveram assigned fcoveram and unassigned fcoveram Jun 21, 2023
@fcoveram fcoveram removed the design: needed Needs a designer's touch before implementation can begin label Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
♿️ aspect: a11y Concerns related to the project's accessibility ✨ goal: improvement Improvement to an existing user-facing feature 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: frontend Related to the Nuxt frontend
2 participants