If it's a freestanding dishwasher (or semi-integrated like photo) bail out sump (use rubber gloves as it may have broken glass in it!!) put towels down and turn it on it's back - it will help with 50% of cases.
Most dishwashers have an anti flood float underneath in a tray, and even a gradual leak can lead to a saftey cut-out by imitating a flood, tipping it releases trapped water and buys some time, or, any obstruction to impeller might float free and allow a restart.
If water comes out in a gush you have a fair-ish leak (joint usually), but if it slumps off the tray slowly it's a slow leak and the tray is full of alien life that wears a fur coat...
Impeller often has a cap that can be lifted to get better access to its well, again rubber gloves in case of broken glass.