Mac is flashing screen when pressing keys
I think there's an option in System Preferences.
Go toSystem Preferences &gt; Accessibility &gt; Audio and uncheck the box that says Flash the screen when an alert occurs.

Hope this helped!