Rectify any grammatical errors in the given text
A barrier free environment allows elderly to have a safe and easy access to the social facilities and amenities within their neighborhood.
A barrier-free environment allows elderly people to have safe and easy access to the social facilities and amenities within their neighborhood.