Skip to content

Comments

Move looping video caption inside island#15393

Draft
simonbyford wants to merge 1 commit intomainfrom
move-caption-inside-island
Draft

Move looping video caption inside island#15393
simonbyford wants to merge 1 commit intomainfrom
move-caption-inside-island

Conversation

@simonbyford
Copy link
Contributor

@simonbyford simonbyford commented Feb 19, 2026

What does this change?

Moves the looping video caption inside the island.

Why?

We got this request from Pip:

would it be a lot of work to keep the figcaption for any video elements inside the figure element when it is rendered into the page?

At the moment with Cinemagraphs they render the video & caption separately into the DOM, e.g.

I'm sure this has been considered – just flagging it makes it harder to handle in interactives and means that the figcaption isn't semantically linked to the figure

Screenshots

Before After
Screenshot 2026-02-19 at 12 46 23
Screenshot 2026-02-19 at 12 46 04 after

@github-actions
Copy link

github-actions bot commented Feb 19, 2026

@simonbyford simonbyford force-pushed the move-caption-inside-island branch from 54cec9c to 39a282f Compare February 19, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant