A visa violation is when you stay in the country longer than the duration specified on your visa or use the visa for a purpose other than the one for which it was granted. For example, working on a student visa or studying on a tourist visa is considered a visa violation.