-
Notifications
You must be signed in to change notification settings - Fork 7
Accessibility : Failing sufficient contrast due to text on background image (WCAG 1.4.3) #93
Comments
Hi - this image is definitely not meant to be implemented this way. If departments wish the image to be visible underneath the text, they should pick an image/visual treatment with appropriate contrast. Alternatively, the template includes classes so the image can be disabled for a tablet/mobile view. |
The template should work at all resolutions. |
It does work in all resolutions. It's just a matter of applying the right class when you do not have an image that does not run full width in the background (with appropriate contrast). Though, I just realized the class to hide the image for the tablet view is not included in the guidance yet, and it should be. I've made a note to update it ASAP. We only have a hidden in mobile class in the current guidance. |
We've updated the live ILP guidance with the tablet instructions/class. Can I close this issue, or is there still more to discuss? |
Hello @jmealing Description of Failure Suggested solution ### Failure 2
However, the demo page as is uses a background image without the classes. I recommend updating the HTML of the demo to include those classes to avoid confusion |
Institutional landing page - currently in beta
Scenario of failure
User opening web page on an tablet e.g. IPad, the decorative image appears under the intro text
Description of Failure
-Contrast not sufficient due to decorative image coded but not responsive e.g. visual does not adjust position properly upon user agent and devices & user resolution
Related WCAG technique
Failure of Success Criterion 1.4.3 and 1.4.6 due to using background images that do not provide sufficient contrast with foreground text (or images of text)
Screenshot
Image demonstrating the failure on AAFC - after applying the beta template code
The text was updated successfully, but these errors were encountered: