Jonathan Kingston 1/11/2026

A Case for poster on Canvas

Read Original

This technical article argues that the HTML <canvas> element lacks a declarative way to show a static visual representation, unlike the <video> element's 'poster' attribute. This causes problems for web archiving, user experience (blank screens during load), and Core Web Vitals. The author proposes adding a 'poster' attribute to <canvas> to display a placeholder image before JavaScript draws, which would also be captured when pages are saved, preserving content for archives and improving perceived performance.

A Case for poster on Canvas

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
Quoting Thariq Shihipar
Simon Willison 2 votes
2
Container queries are rad AF!
Chris Ferdinandi 1 votes
3
Top picks — 2026 January
Paweł Grzybek 1 votes
4
In Praise of –dry-run
Henrik Warne 1 votes
6
Vibe coding your first iOS app
William Denniss 1 votes