Closed (fixed)
Project:
Alt Text Validation
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2025 at 11:48 UTC
Updated:
7 Aug 2025 at 03:34 UTC
Jump to comment: Most recent
Comments
Comment #2
swirtComment #3
swirtComment #4
swirtThe exact set of starter rules has not been determined yet. This ticket is blocked until we have decided on the set of rules.
Comment #5
maggiewachs commentedIn 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):
Comment #6
swirtThanks 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?
Comment #9
swirtI ended up creating 5 "starter rules" that can be edited by the site admins.
This is a healthy yet conservative starter set of example rules.
Crediting rkoller for the suggestion about the copyright in #3503625: Create a list of recommended rules #5
Comment #11
swirtComment #12
swirtThe rules from this went out with 1.0.0-alpha8.