Discrimation advocacy

im just curious how is it that i never knew about this law that required teachers to allow me to test in class when a teacher yelled at me for doing so? how was that justice? i wish i would have known about that law ten years ago that's if it was put in effect ten years ago.