The man in colorful shorts is barefoot.
The man has shorts but no shoes.
Being barefoot is the same as having no shoes.
no shoes is a rephrasing of barefoot.
The man is in shorts but is barefoot, which means he has no shoes.