indicatetls
indicatetls copied to clipboard
Badge the resources tab with the warning if one exists
As of the SSLeuth redesign, the main popup is split to two tabs. That means the user can get confused if they see a warning symbol on the icon but no warnings on the main tab.
Hence, I suggest showing the warning icon on the Resources tab too (or make the tab yellow overall, per #18).
I like the idea of colouring the resource tab yellow (or adding a badge to it), when there is a warning on the resource tab.
Accessibility: colour alone may be insufficient to signal an alert.
- https://webaim.org/articles/visual/colorblind#deuteranopia
- https://gmazzocato.altervista.org/en/colorwheel/wheel.php
- http://www.colourblindawareness.org/colour-blindness/types-of-colour-blindness/
I've added a warning triangle to the tab (if a warning exists) in commit 0f2d5c0.

I will publish a new minor release (0.1.1) with the fixes we discussed, thanks! :rocket: