- Issue created by @swirt
- πΊπΈUnited States swirt Florida
The exact set of starter rules has not been determined yet. This ticket is blocked until we have decided on the set of rules.
- πΊπΈUnited States maggiewachs
In addition to the rules defined in default settings above, I'd check for the following (examples of bad alt text I've encountered in the wild):
- file extension
- hyphenated text that doesn't match file name ("red-car-at-stoplight")
- keywords: "placeholder", "screenshot"
- πΊπΈUnited States swirt Florida
Thanks maggiewachs, that hyphenated one is interesting. I am not sure how to even support that one. We could probably use regex to look for words with too many hyphens but what is too many hyphens? Greater than one per word?
- @swirt opened merge request.
- πΊπΈUnited States swirt Florida
I ended up creating 5 "starter rules" that can be edited by the site admins.
- Prevent: Can not match image filename.
- Warn: Cannot begin with "image of ".
- Warn: Cannot begin with "photo of ".
- Warn: Can not contain the pattern "copyright ####" and other variations.
- Off: Cannot match image title.
This is a healthy yet conservative starter set of example rules.
Crediting rkoller for the suggestion about the copyright in β¨ Create a list of recommended rules Active #5
- πΊπΈUnited States swirt Florida
The rules from this went out with 1.0.0-alpha8 β .