Conclusion:
While there is no rule against wearing shorts on an airplane, flight attendants often recommend longer clothing for reasons related to hygiene, comfort, temperature control, and preparedness. For many travelers, a small wardrobe adjustment may contribute to a more pleasant flying experience.