The best way to make Diwali safer for animals is to celebrate thoughtfully. Consider choosing diyas, fairy lights, rangoli, family time, music at comfortable volumes, and eco-friendly decorations instead of noisy crackers.
If you do celebrate with crackers, be mindful of where and when you burst them, and keep them well away from animals, people, vehicles, and homes.