Because bears prefer roads and campgrounds, the possibility of a hiker meeting up with a bear along park trails is small, but there's always that chance, for a bear seems to know if you are carrying a lunch or a candy bar.
I sometimes wear my favorite dresses, walk barefoot when I can, and don't worry what passing hikers may think if they find me crawling along the ground to try to get a photograph of a butterfly.