Adds focus to anchor if it's a link