Both drivers charged after traffic accident