Hi,
I believe this is a normal behavior because browser such as chrome has extra settings or flags to control or ignore the high contrast mode which means that it has a custom logic to detect and handle it compared to Electron app that it just obeys the OS and it inherits the same display.
I hope this provides clarification.