Catholic school with uniform including khaki pants. I started my period and bled thru. I swapped to sweatpants. Most teachers just figured I must have some reason and didn't bother me. A couple asked after it, one accepted my reason and offered to to let me out of class to have a little more time to cleanup or call home or whatever I needed to feel comfortable. The last one gave me detention for being out of uniform.
School administration reversed it when they heard why I was being sent to detention. I was advised to just go to the main office if it ever happened again so they could help me instead of having to deal with each teacher myself.
Not tech related.