Skip to content

Specify that Lazy Audio elements need a controls attr #43624

@scottjehl

Description

@scottjehl

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/audio#loading

What specific section or headline is this issue about?

loading + controls

What information was incorrect, unhelpful, or incomplete?

In order for audio elements to intersect visibly with the viewport, they need to be visible. UAs use the controls attribute to make audio elements visible, so it's needed for lazy loading.

What did you expect to see?

<audio loading=lazy controls src=...></audio>

Do you have any supporting links, references, or citations?

https://html.spec.whatwg.org/multipage/media.html#the-audio-element
Image

Do you have anything more you want to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:HTMLHypertext Markup Language docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions