Image Filename Quality
Checks for descriptive image filenames
Checks for descriptive image filenames
| Rule ID | images/filename-quality |
| Category | Images |
| Scope | Per-page |
| Severity | info |
| Weight | 2/10 |
Solution
Use descriptive, keyword-rich filenames for images instead of generic names like IMG_001.jpg or DSC1234.png. Good: ‘red-running-shoes-nike.jpg’. Bad: ‘IMG_20231015.jpg’. Filenames contribute to image SEO and help search engines understand image content. Use hyphens to separate words.
Enable / Disable
Disable this rule
squirrel.toml
toml[rules]
disable = ["images/filename-quality"]Disable all Images rules
squirrel.toml
toml[rules]
disable = ["images/*"]Enable only this rule
squirrel.toml
toml[rules]
enable = ["images/filename-quality"]
disable = ["*"]