| Rule ID | images/figure-figcaption |
| Category | Images |
| Scope | Per-page |
| Severity | info |
| Weight | 2/10 |
Solution
Use<figure> and <figcaption> for images with captions. This provides semantic meaning and accessibility benefits. Screen readers announce figcaption as the image caption. Good for SEO as captions often contain keywords. Example: <figure>``<img src='...' alt='...'>``<figcaption>Description</figcaption>``</figure>.
Enable / Disable
Disable this rule
squirrel.toml
Disable all Images rules
squirrel.toml
Enable only this rule
squirrel.toml