The most important step is to get rid of the battery cages, the current industry standard in North America for laying hens. In the European Union, as of last year, battery cages are banned because of their small size and barrenness.
In Manitoba, egg producers are phasing out battery cages.
About 100 days after hatching, when they are still pullets and have yet to start laying eggs, the hens are placed into the crowded wired cages, usually arranged in very long rows often stacked one on top of the other.
Battery cages can be seen in a hidden-camera video that went viral over the weekend. The video comes from the group Mercy for Animals Canada and was recorded in the summer at Ku-Ku Farms and Creekside Grove Farms in Alberta.
Replacing battery cages
Tina Widowski, the director of the Campbell Centre for the study of Animal Welfare at the University of Guelph, says replacing battery cages with furnished cages is the "best choice for enriching hens' lives with the least effect on the bottom line."
Furnished cages give a hen more than twice the space of the smaller battery cages and provide a nest, a perch and an area for scratching and foraging.
Ian Duncan, who chairs the Global Animal Partnership’s welfare and farming advisory committee, supports a move to furnished cages but says a free run or aviary system would be better still. The latter, with several levels, has been described as a condo for birds.
Duncan says these methods can be used in intensive, large-scale operations but the bird's welfare is better. The operating costs would be higher, he admits, and the farms would then need to charge more but he thinks consumers are willing to pay a bit more if better welfare is guaranteed.
Duncan was the president of the Animal Welfare Foundation of Canada from 2004-12 and is also a professor emeritus at the University of Guelph.
Widowski estimates that furnished cages would increase production costs by eight per cent over battery cages and a free run system would result in a 20-25 per cent increase.
Widowski is also the Egg Farmers of Canada research chair in poultry welfare.
How to ask hens
A first step for scientists to work out how to improve the hens' welfare is to ask the hens.
And there are ways to do this. Duncan told CBC News about one of his techniques for asking hens various questions.
Hens have good colour vision, so he would keep them in pens with coloured nesting boxes. Once a hen began to show an interest in nesting, which it does by giving a distinct call and adopting a certain posture, and looking into the nesting boxes, he would take them out of the pen.
Duncan's team would then put the hen on a runway, with a coloured nesting box at the far end of the runway. "Birds very quickly run along the runway and go into the nest box and show very normal nesting behaviour."
In a further experiment, he would add a wireframe swing door halfway down the runway. Various weights would be attached to the door, which the hen would need to swing open to get to the nesting box.
"Hens would work extremely hard to get to a nest box, they would work as hard to get to a nest box as they would to get food" when they were nearly starving, Duncan said. The experiments showed that "nesting behaviour is really important to hens" and that's something they cannot do in a battery cage.
Widowski identified additional methods for questioning hens, like giving them preference tests, where they have to make a choice, sometimes by pressing a key, or observing their stress physiology.
While nesting is one of the most important concerns for hens, Widowski adds perching, which the hens associate with protection from ground predators, and areas to forage or dust bathe.
While "dust bathing is the most difficult behaviour to accommodate in a barn system because with dust comes bad air," she notes that it is not a coincidence that except for the latter, those are the items required by the EU directive, and what goes into furnished cages.
A study published in Australia in September looked at free-range egg farms, where chickens are allowed outdoor access. The number of free-range farms in Australia has increased 65 per cent over the last five years.
The scientists found that when the chickens go outside, they stick close to a shed or to walls or fences the scientists placed within a large enclosed area. When the walls were present, the birds would venture much further from the barn. The additional walls add a sense of protection from flying predators like eagles and hawks, and also provide environmental stimulation.
Will you pay more for eggs?
Canada is currently in the midst of a multi-year process to review its national standards or codes of practices for the care and handling of farm animals. While these are voluntary codes, Widowski said they form the basis for legislation in a number of provinces, often included in animal welfare laws.
"Farm animal welfare has become a part of doing business in animal agriculture," Widowski told CBC News.
She said she paid twice as much for the free-run eggs she bought on the weekend. "I believe that if we want animal care standards to change we have to be willing to pay for it."
But will consumers in general pay more for their eggs?
When Duncan answered that question he started out by noting that eggs are "ridiculously cheap" and that farmers have really succeeded at providing us with cheap food over the last 70 years or so. But there's a price to be paid for that and he says it's the animals paying that price.
He says that if the general public could see the conditions of the hens that are kept in the battery cages, they would pay a little more for their eggs, as long as they were convinced it would improve animal welfare.
And he thinks that is beginning to happen in North America. It's already happening in Europe, he says, which on this issue he considers to be 10 to 15 years ahead.
Also on HuffPost