@sentient_water @mentallyalex Presumably because the FDA hasn't defined onions as a major allergy group.
The ones that are defined, like nuts, are taken much more seriously by restaurants (and health departments).
https://www.fda.gov/food/food-labeling-nutrition/food-allergies