High school seniors near graduation face detention