This div has borders with insufficient contrasts (1.6:1) against their backgrounds:

Note: Automated testing should be possible. This can be achieved by programmatically retrieving the current border-color (i.e. CSS border-color property, or otherwise) of an element and verifying that it has sufficient contrast against its background.