The city hopes the mandate prompts more Bay Area residents to seek vaccination in light of the surge of infections due to the delta variant.