The icon of an app or service will flash orange/red with animation on the taskbar when attention is needed for it.
Usually, this happens when an app opens minimized or behind another window.
By default, the app icon on the taskbar will flash 7 times with an orange/red color, then stay highlighted to get your attention to click/tap on or open.
This tutorial will show you how to change how many times taskbar apps flash for your account in Windows 11.
EXAMPLE: Flashing app icon on taskbar
Open Registry Editor (regedit.exe).
Navigate to the key below in the left pane of Registry Editor. (see screenshot below)
In the right pane of the Desktop key, double click/tap on the ForegroundFlashCount DWORD to modify it. (see screenshot above)
Select (dot) Decimal, type a number for how many times you want the taskbar button to flash before staying highlighted, and click/tap on OK.
7 is the default value. Typing 0 will give you indefinite flashing.
Close Registry Editor.
Restart the computer to apply.