Light travels at speed of 3×108 m/s only in vacuum. In other media, its speed is always less than 3×108 m/s.
It is impossible to measure the acceleration that light undergoes. This is because
a=ΔvΔt
But Δt in case of light is nearly zero so acceleration is indeterminate.