Small electronics like chargers and cables count as e-waste and shouldn’t go in regular trash in most regions — many contain recoverable copper and, in the case of any battery-containing accessory, materials that can be a fire risk in landfill compactors.
Check for a manufacturer or retailer take-back program first — many accept any brand, not just their own, and some offer a small discount as an incentive.