The performance improvement of conventional CdTe solar cells is mainly limited by doping concentration and minority carrier life time. Alloying CdTe with an isovalent element changes its properties, for example its band gap and behaviour of dopants, which has a significant impact on its performance as a solar cell absorber. In this work, the structural, optical, and electronic properties of CdTe1-xSex films are examined for different Se concentrations. The band gap of this compound changes with composition with a minimum of 1.40 eV for x = 0.3. We show that with increasing x, the lattice constant of CdTe1-xSex decreases, which can influence the solubility of dopants. We find that alloying CdTe with Se changes the effect of Cu doping on the p-type conductivity in CdTe1-xSex, reducing the achievable charge carrier concentration with increasing x. Using a front surface CdTe1-xSex layer, compositional, structural and electronic grading is introduced to solar cells. The efficiency is increased, mostly due to an increase in the short-circuit current density caused by a combination of lower band gap and a better interface between the absorber and window layer, despite a loss in the open-circuit voltage caused by the lower band gap and reduced charge carrier concentration.