Confinement in W7-AS and the role of radial electric field and magnetic shear