2.3.1 Three flashes or below threshold
Do not design content in a way that is known to cause seizures.

About

Flashing items that is too bright and flashing too fast , may cause problems for people who suffer from epilepsy.

It is better to replace flashing images with static content, or ensure the object flashes in only a small portion of the screen or the flash rate is less than three times per second.

Example:

Before Rectification

image flashing too fast

After Rectification

image flashes less than 3 times per second