The legislation would ban cellphones and other devices that can access the internet throughout the school day.