Skills Plugins MCP Prompt Model 博客 我的中心

figure-figcaption

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.

DeepseekModel Curated skill Quality Excellent · 90 v1.0.0

Get

https://deepseekmodel.com/api/download.php?id=thedaviddias-front-end-checklist-skills-figure-figcaption-skill-md&format=skill
Download .skill Standard format with system_prompt and model_config, ready for any agent framework
The actual content of the system_prompt field in the .skill file.
name figure-figcaption description 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. metadata {"category":"images","priority":"medium","difficulty":"beginner","estimatedTime":"10","source":"frontendchecklist.io","url":"https://frontendchecklist.io/en/rules/images/figure-figcaption"} Use and for image captions Using 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. Quick Reference Wrap image + visible caption pairs in <figure> with <figcaption> as a direct child <figcaption> must be the first or last child of <figure> Do not duplicate alt text in figcaption—alt is the fallback, figcaption is the visible description <figure> is appropriate for images, code blocks, diagrams, and charts—not every image Check Scan 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 . 2) The caption text is inside a element. 3) is a direct child of . 4) The alt text on the is not identical to the text—they serve different purposes. Flag any followed by descriptive text that is not structured as figure/figcaption. Fix For each image with an adjacent caption: 1) Wrap the and its caption text in a element. 2) Move the caption text into a element inside . 3) Review the alt attribute—if the figcaption already fully describes the image for sighted users, the alt can be shorter or empty (alt="") only if the figcaption alone is sufficient for screen readers too; otherwise keep a concise alt. 4) Position as the first or last child of . Show the corrected HTML. Explain 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. Code Review 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
Keywords that activate this skill. Click one to copy it.

This skill does not provide trigger words.

The downloaded .skill package contains the following fields.
Field Description
formatFormat tag (skill/v1)
skill_idUnique skill ID
nameSkill name
versionVersion
descriptionDescription
categoryCategories (array)
trigger_wordsTrigger words
tagsTags
sourceSource
source_urlSource URL (this page)
exported_atExported at (set per download)
system_promptSystem prompt body
model_configModel config: provider / model / temperature / max_tokens / top_p
examplesExamples
install_guideImport guide for Coze / Dify / Claude / custom frameworks
The same skill can be exported in different platform formats.
.skill Standard format with system_prompt and model_config, ready for any agent framework Download
.skillpro Enhanced format with scripts, tools, dependencies and hooks Download
.json Plain JSON export with system_prompt and model parameters only Download
Coze Markdown with frontmatter, for Coze platform import Download
Dify Dify DSL, import directly after creating an app Download

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。