Skip to content

Lazy loading audio controls#43627

Merged
pepelsbey merged 6 commits intomdn:mainfrom
tunetheweb:lazy-loading-audio-controls
Apr 5, 2026
Merged

Lazy loading audio controls#43627
pepelsbey merged 6 commits intomdn:mainfrom
tunetheweb:lazy-loading-audio-controls

Conversation

@tunetheweb
Copy link
Copy Markdown
Contributor

@tunetheweb tunetheweb commented Mar 30, 2026

Fixes #43624

Description

Adds a note that for audio to be lazy loaded the controls attribute needs to be set.

I've also intended the lazy-loading stuff under the loading=lazy attribute as they don't apply to the loading attribute overall.

Motivation

Clarification in case this is not obvious

Additional details

Related issues and pull requests

Small update to #43434 when I added these docs.

@tunetheweb tunetheweb requested a review from a team as a code owner March 30, 2026 16:34
@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs size/xs [PR only] 0-5 LoC changed labels Mar 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 30, 2026

@github-actions github-actions bot added size/s [PR only] 6-50 LoC changed and removed size/xs [PR only] 0-5 LoC changed labels Mar 30, 2026
@scottjehl
Copy link
Copy Markdown
Contributor

This PR looks great. Nice work, @tunetheweb

Copy link
Copy Markdown
Member

@pepelsbey pepelsbey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you 🙂

@pepelsbey pepelsbey merged commit 743ba8b into mdn:main Apr 5, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTML Hypertext Markup Language docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Specify that Lazy Audio elements need a controls attr

4 participants