Nuclear-density dependence of electron-proton coupling