Legislation offers on-line learning to seated students