Here’s how you can turn on screen flashing for alerts in OS X on your Mac.
1. Go to System Preferences.
2. Go to Accessibility.
3. Go to Audio.
4. Click the “Flash the screen when an alert occurs” checkbox.
5. Click the “Test Screen Flash” button to test your screen flash.
For more information, see the original article at the link below.