- From: Steve Green <steve.green@testpartners.co.uk>
- Date: Fri, 25 Jun 2021 11:17:41 +0000
- To: Louise Lister <Louise.Lister@iop.org>, "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
- Message-ID: <AS8PR09MB5419E0E35680DA92B7EF5DA9C7069@AS8PR09MB5419.eurprd09.prod.outlook.com>
We mostly use a colour contrast analyser tool that has a colour picker, which allows us to pick the combinations of colours with the lowest received contrast ratio. It’s still rather subjective because it depends on how much of the text has a contrast ratio below the required level. If it’s only a few pixels, should it really be classed as non-conformant? A tool that does all the work and gives you the answer isn’t going to be any more accurate – in fact it’s probably going to be less accurate. Such tools take different approaches. For instance, https://www.brandwood.com/a11y/ takes measurements at 8 fixed points on a rectangle, which may not be good choices. SortSite once reported a contrast issue with text on a background gradient, but it turns out that they just calculate the lowest contrast that could occur if it was possible for the text to be placed anywhere on the gradient (the top right corner in my case because it was a diagonal gradient). There was a large amount of padding around the text, so the contrast ratio that SortSite reported could never occur. I tested it at every possible window width and zoom level just to be sure. Steve Green Managing Director Test Partners Ltd From: Louise Lister <Louise.Lister@iop.org> Sent: 25 June 2021 11:56 To: w3c-wai-ig@w3.org Subject: Checking text on image colour contrast compliance (when a colour gradient is applied) Hello, Please would anyone be able to recommend a good tool to check contrast on the brand story images that have a filter applied. We currently have a homepage image slot which applies a darker colour gradient over an image to allow the text on top of it to stand out. The text can also be in different sizes. I’ve tried WCAG contrast checker but that doesn’t seem to allow for the gradient and tried Chrome colour contrast analyser instead. I don’t think that gives me a definitive picture on whether I am compliant other than the contrast on some text has a better outline than other bits of text. If there’s any other options people can suggest that would be amazing! Kind regards Louise ________________________________ This email (and attachments) are confidential and intended for the addressee(s) only. If you are not the intended recipient please immediately notify the sender, permanently and securely delete any copies and do not take action with it or in reliance on it. Any views expressed are the author's and do not represent those of IOP, except where specifically stated. IOP takes reasonable precautions to protect against viruses but accepts no responsibility for loss or damage arising from virus infection. For the protection of IOP's systems and staff emails are scanned automatically.. Institute of Physics. Registered charity no. 293851 (England & Wales) and SCO40092 (Scotland) Registered Office: 37 Caledonian Road, London, N1 9BU<https://goo.gl/maps/DUHbKcbzuUN2> Your privacy is important to us. For information about how IOP uses your personal data, please see our Privacy Policy<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.iop.org%2Fprivacy%2Findex.html&data=02%7C01%7C%7C6716aa3c6fd84da5102808d5c0b234a0%7Cf9ee42e6bad04e639115f704f9ccceed%7C0%7C0%7C636626793962820374&sdata=RI6OT4MumRlklNzF5i2M9ZxS6P%2FxxLg%2FJwcnMJ%2B0480%3D&reserved=0> ________________________________
Received on Friday, 25 June 2021 11:18:10 UTC