Text this: The legal context of teaching