If it wasn't life-threatening, and didn't affect his long-term capacity to serve, it did not need to be disclosed. Period.
However...... Since the world is all about how things are perceived. And Steve at WWDC look like he was at death's door to me. Someone had some "splainn
to do Lucy". We all know he is a god. But he would not be if not for the stock holders.