Sight is important in the detection of food by most species, but this is presumably excluded with the slightly blind spring cavefish. They use their underdeveloped eyes to distinguish between light and darkness.
Visual perception is essential for many species to locate food, however, the spring cavefish may have developed an alternative method to distinguish between light and dark using its limited eye development.