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

Media rules (and Applicability) could auto-detect embedded play button and autoplay attribute #1326

Closed
Jym77 opened this issue Jan 31, 2023 · 3 comments · Fixed by #1538
Closed
Assignees

Comments

@Jym77
Copy link
Contributor

Jym77 commented Jan 31, 2023

When the <audio> element has controls, Alfa could assume that it includes a play button and avoid asking the question.

Alfa could use the autoplay attribute and assume the audio is playing.

(R49 is already doing that)

@Jym77 Jym77 changed the title Audio rules (and Applicability) could auto-detect embedded play button Audio rules (and Applicability) could auto-detect embedded play button and autoplay attribute Feb 1, 2023
@Jym77 Jym77 changed the title Audio rules (and Applicability) could auto-detect embedded play button and autoplay attribute Media rules (and Applicability) could auto-detect embedded play button and autoplay attribute Feb 2, 2023
@Jym77
Copy link
Contributor Author

Jym77 commented Nov 29, 2023

Media rules are the 20s and 30s.
There are shared Applicabilities and Expectations.

@rcj-siteimprove
Copy link
Contributor

According to Mozilla autoplay guide most browsers block autoplay unless certain conditions are met for example if the audio is muted it won't be blocked (<audio controls autoplay muted>...).

Do we still want to assume it's playing based on this? We could also refine it to also look for muted. The other conditions listed doesn't seem to by something Alfa can know, so I'm wondering if we should still ask questions unless muted is present.

@Jym77

@Jym77
Copy link
Contributor Author

Jym77 commented Dec 12, 2023

Yes, I thing we should assume it plays when autoplay is present.
It, at least, indicates intention by author to have it autoplay if possible, so it is also an author responsibility to provide means to stop the media.
This goes together with some recent ACT rules discussion about the topic of autoplay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants