Add <img controls>

Open Beginner friendly
#43,730 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
84/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Tech stack
html
Domain
documentation

Research direction

Open files/en-us/web/html/reference/elements/img/index.md and review the attributes section. Compare the existing documentation with the WHATWG pull request linked in the issue, then document the missing controls attribute. Done means the attribute appears in the img reference with accurate information, including a fullscreen example rather than playback controls.

Written by the indexing model from the issue text.

Description

Content:HTML waiting for implementations
MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img

What specific section or headline is this issue about?

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

What information was incorrect, unhelpful, or incomplete?

The new controls attribute is missing.

What did you expect to see?

controls

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

https://github.com/whatwg/html/pull/12151

Do you have anything more you want to share?

If you give any examples of which controls to expect, use a "fullscreen" button, and not controls for playback of animated images (at least until https://github.com/whatwg/html/issues/12318 is resolved).

MDN metadata
Page report details
Dominant language
Markdown
Stars
11k
Forks
23.3k
Avg merge
1d 16h
Merged PRs (30d)
311

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mdn/content

All issues in mdn/content

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.