Use when reviewing image assets, markup, and CDN or build transforms related to Use <figure> and <figcaption> for image captions. Check encoded size, rendered size, loading strategy, and above-the-fold impact together.
59
68%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/figure-figcaption/SKILL.mdUsing a <p> tag as a caption is invisible to assistive technology as an image description. The <figure>/<figcaption> pattern creates a machine-readable relationship between an image and its caption, which screen readers surface to users. It also communicates to search engines that the caption describes the image, supporting image SEO.
<figure> with <figcaption> as a direct child<figcaption> must be the first or last child of <figure><figure> is appropriate for images, code blocks, diagrams, and charts—not every imageScan the codebase for images with adjacent visible text that acts as a caption (e.g., a
or immediately below an describing it). Verify: 1) Such image-caption pairs are wrapped in
For each image with an adjacent caption: 1) Wrap the and its caption text in a
Explain the semantic meaning of
and . The element represents self-contained content (an image, code sample, diagram) that is referenced from the main content but could be moved without affecting the document flow. provides a caption or legend for the figure. Screen readers announce the figcaption in association with the figure, giving users context. Without this markup, sighted users see a caption but screen reader users hear only the alt text with no indication that a visible caption exists.Review image assets, markup, and delivery configuration related to Use
and for image captions. Flag exact files or components where format choice, sizing, or loading behavior violates the rule, and describe how to confirm the fix in DevTools.For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/en/rules/images/figure-figcaption
48405aa
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.