Step 1: Open the setting app
Step 2: Click on the Sound and Haptics section after scrolling down to it.
Step 3: The Keyboard Feedback area is where you may switch the sound and haptics on or off.
Step 4: Haptic switch on/off
Step 5: Turn on haptic toggle
Step 6: Sound and Haptic toggles are present. They function apart from one another.