Idk the only yaoi I see that avoid students doing the do is in Manhwas (kr)— usually they do the explicit stuff once the characters go to college (usually in a sep season or extras).
In jp mangas anything under the sun is possible, even for minors (esp for minors ngl & no offense, but moving forward, just keep this in mind).
I grew up (90s kid) reading jp shoujo where students are falling for teachers and there was even the era where of student x adult shoujos were rampant and no one said a damn thing (see: the literal grade school student and homeroom teacher in cardcaptor sakura dating).
Also, the biggest indicator is the "yaoi" tag. If you see a yaoi tag and the cover be students, just avoid it altogether. Look for "Shounen Ai" instead; not foolproof to keep the underaged snu-snu, but almost always good enough to keep them away.

this would have been adorable if it wasn’t for the SA and the fact that they are teens being shown to have sex :/ I understand teens do that but if I had known it was in this manga I would not have read it from the start.