Minecraft wiki entry for Best_enchantments_guide, associated text: It is usually not recommended to enchant shields, but if the shield has a banner applied to it‌[Java Edition only], it might be worth it to enchant it.