San Francisco mayor signs legislation to eliminate barriers