6be248016f
If the content in Atto is wrapped by an element with only a background color, without text color, the accessibility checker will use the parent text-color as the foreground color, which is owned by form-control, it becomes a problem if the wrapped element background using #34274f and the parent text-color is #495057 then the low contrast as a result. To avoid such a situation, the patch will only calculate color contrast if only the element has text, so it will give results per element if the accessibility checker is unsatisfied.