FEATURE: Add a CSS class to the HTML element on background connection error (PR #10991)

GitHub

Looks good to me! merging.