Don't overthink it. The amount of onion in what you would wet kibble with a box of broth is probably FAR less than if you dropped a slice of onion on the kitchen floor. Been there and dogs that snarfed it up lived.
Along the same line garlic is supposed to be a huge no no but I have known people that fed their greys garlic for flea control.