safety when barefoot
Going barefoot in public areas like stores, restaurants, and libraries is very safe. Don't be concerned about a risk of catastrophic injury from barefoot activity.
"What about broken glass?" It's often the first question asked when someone goes barefoot in public. In reality, the threat from sharp objects isn't big enough to keep people from going without shoes in their daily lives. If you can read this Website, you live in a developed part of the world that does a remarkable job of keeping the ground clean and safe for bare feet.
Injuries to bare feet in the developed world are uncommon, and are usually minor. Those that aren't minor usually would not have been prevented by everyday footwear anyway (like things falling on toes while wearing sandals, or nails going through the sole of any footwear).
We rarely hurt ourselves in any way because we are usually careful. When accidents do happen, we simply try to be smarter next time.
The things we touch with our hands are far more hazardous than the surfaces on which we walk, yet we are willing to take on these everyday risks. Think about it: How many times do you handle scissors, knives, doors, extremely hot or cold things, chemicals, or other potentially dangerous stuff throughout the day? Don't you wear gloves only if you recognize a high potential for risk? (It would be strange to wear oven mitts all day in case you might touch something hot.)
The benefits of going barefoot far outweigh the risks. All you need to do is keep an eye on the area around you and be careful -- just like always.