I decided to call Kitchenaid as this was a safety issue.
They offered to send an appliance repairman at their cost to diagnose only, any repair charge would be paid by me.
That seemed reasonable.
He came and found failure code F2E5.
This code is "Cancel key low or open. Keypad subsystem failure. Replace the keypad if properly connected"
He said the keypad panel (part 9751896
white) is no longer available in any color, so the range cannot be fixed and is scrap.
After he left I found a new keypad panel (part 9751901
almond) on eBay so I bought it.
I installed it and I still got the code F2E5.
That suggested the original keypad panel was good, and that the electronic control module was bad.
So I bought a used electronic control module (part 3191107
) on eBay.
I installed this used electronic control module and the original keypad panel and the problem is totally resolved.
All the buttons on the keypad work correctly.
So I conclude that the problem was a bad electronic control module.
This is not the first time that I have found that a failure code in an appliance tells me the wrong part is bad.
I hope this helps someone else.