<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by John Gimber on Medium]]></title>
        <description><![CDATA[Stories by John Gimber on Medium]]></description>
        <link>https://medium.com/@john.gimber?source=rss-b2ff09ea40f3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*TL48cDEWkEQbE6UUofIgbw.png</url>
            <title>Stories by John Gimber on Medium</title>
            <link>https://medium.com/@john.gimber?source=rss-b2ff09ea40f3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 20:59:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@john.gimber/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Harnessing the power of automated Accessibility testing]]></title>
            <link>https://medium.com/deloitte-uk-cloud-blog/harnessing-the-power-of-automated-accessibility-testing-3b72f950b1b5?source=rss-b2ff09ea40f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b72f950b1b5</guid>
            <category><![CDATA[accessibility]]></category>
            <category><![CDATA[test-strategy]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[qa-and-testing]]></category>
            <category><![CDATA[testing-tools]]></category>
            <dc:creator><![CDATA[John Gimber]]></dc:creator>
            <pubDate>Fri, 23 Feb 2024 13:50:27 GMT</pubDate>
            <atom:updated>2024-02-23T13:50:27.065Z</atom:updated>
            <content:encoded><![CDATA[<h3>Harnessing the power of Automated Accessibility Testing</h3><figure><img alt="A person using an accessibility device" src="https://cdn-images-1.medium.com/max/1024/0*8bKKSUusZHPgUxxV" /><figcaption>Photo by <a href="https://unsplash.com/@sigmund?utm_source=medium&amp;utm_medium=referral">Sigmund</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Automated testing is good — checking the basic functionality of a product at high speed and repeatedly.</p><p>Accessibility testing is good — making sure that the product is usable productively and comfortably by the maximum number of people. <br> <br>Automated accessibility testing (AAT) is <strong>great</strong> and is seen as the “gold standard” by many, but some often curse this accessibility testing, thinking of it as a drag, or an expense that they just do not want to deal with. It is becoming more important than ever — <a href="https://www.gov.uk/guidance/accessibility-requirements-for-public-sector-websites-and-apps">lots of public sector agencies mandate it now</a> and the recent WCAG (Web Content Accessibility Guidelines) 2.2 rule updates may be catching people out. So, the big question is “How do we do this without breaking the team, the product, and the bank?”</p><p>There are several scenarios that we need to look at to understand the “why” of this, so let us look at them.</p><p><strong><em>Scenario one: No accessibility testing</em></strong></p><p>Imagine a 3-year project. It is finally done! We have a working system; we have working automated functional tests (so we know that the product does everything it is supposed to do). Everything is slick, everything is stable. But we have no accessibility tests.</p><p>And why is this omission so important?</p><p>Anyone with a disability (visual impairment such as the common colour-blindness, cataracts, physical challenges, or even mental health issues such as anxiety or memory retention challenges) could be using the new product. But if it is not built correctly — both visually, and non-visually “under the hood” then the entry barriers to product engagement are too high. Imagine if people could not submit their taxes or access health services online because the government sites were not built correctly… text could not be read because of contrast issues, screen readers which could not dictate screen content… it would become a national scandal.</p><p>With this in mind, it is time to manually test the accessibility of the product just before go-live.</p><p>Boom, lots of issues are found. Frantic panic to upgrade the user interface (UI) to make the product accessible. This has 2 effects:</p><ul><li>The once-slick and once-stable product is now being destabilised by hurried, late changes.</li><li>The automated tests that ran against the UI now need to be updated to match the new UI. Again, no longer slick, or stable.</li></ul><p><strong><em>Scenario two: Neglected AAT</em></strong></p><p>Another 3-year project. Automated functional and accessibility testing is implemented during the development phase, but nobody is quite sure what to do with it. New features are being churned out, we know there are UI problems, but nobody’s dealing with them. There’s time later, right?</p><p>Quite often, a new feature will arrive in one code merge, and the automated tests for it will arrive in a separate work ticket. This disconnect between the work and the accessibility testing is where the large crack is appearing, and stuff’s just falling into it. Accessibility bugs are appearing, but not being dealt with.</p><p>Although we know the accessibility status of the product at any given time, we are still in the situation that we must make late changes to the product, and therefore late changes to the automated tests.</p><p><strong><em>Scenario three: In-line AAT</em></strong></p><p>What is this? OK imagine a typical pull request for a code merge. A developer thinks “yeah, this new feature works well, let’s merge it into the main code repository.”</p><p>All well and good.</p><p>Now (usually) a person or two will have to review the code prior to it being merged. If it is good, then it can be merged.</p><p>But what if… the review process was enhanced slightly.</p><p>Instead of this:</p><ol><li>Check the new feature works well.</li><li>Check that the automated functional test coverage is in place and runs correctly.</li><li>Approve and merge the new code and matching tests.</li></ol><p>We go to this:</p><ol><li>Check the new feature works well.</li><li>Check that the automated functional test coverage is in place and runs correctly.</li><li><em>Verify that the automated accessibility test(s) have been added for the new feature and run without error, in the same code branch as the new feature itself, and regression test all previous accessibility scenarios in the AAT pack.</em></li><li>If both are correct, approve and merge the new code and matching tests.</li></ol><p>The accessibility check stage here aims to do the following:</p><ul><li>If this is a new feature, ensure there is accessibility test coverage for it.</li><li>If this is a modified feature, ensure that the existing accessibility tests cover it suitably (i.e. overall test coverage is equal or better than before).</li><li>Either way, ensure that the existing AAT regression tests run correctly as well.</li></ul><p>Either way, this merge will not commit any accessibility issues into the code repository.</p><p>Suddenly, there is no disconnect between the development of a new feature and the test coverage for it. No code is merged into the product that is not accessible by default.</p><p>We know (at any given time) that the product is accessible.</p><p>Think of this as an “accessibility tax” on each piece of work. Yes, it can be seen as a pain, and when you add up all the “taxes” on all the features, it is not an insignificant piece of work. However, if you work out how long it takes to make those changes at the end of the project instead, you would be incredibly surprised just how much more tax you would otherwise end up paying.</p><p>As you can imagine, there are definite benefits here:</p><ul><li>We have gone from “Code, review, accessibility test, re-factor, re-test, re-review” to simply “code, accessibility test, review”. We spend less time re-factoring, and more time focusing on delivering value.</li><li>The product can be released at any time, with the assurance it is accessible.</li><li>The overall cost of product development and accessibility testing is reduced. No rework, and no disruption at the end.</li></ul><p>Could We Make It Better? Yes!</p><p>So far, we have successfully performed a shift-left of the AAT activity and merged it as an activity at the end of development of a feature. We can enhance this further by considering automated functional tests (not the automated accessibility tests) and shifting-left even further.</p><p>Assume we are using a web driver technology like Selenium or Puppeteer, which allows us to interact with the product’s UI via several methods — giving us the ability to click, type, drag, drop — you name it. If the user needs to do it, we can automate testing of it.</p><p>So, imagine this — we want to automate the clicking of a button. We could identify our button using an underlying ID, a position on the screen, a position within the page code, all sorts. Or we could identify our button via the aria label or caption (aria labels help assisted technology tools such as a screen reader like Jaws to interact with page audibly). Suddenly, if we interact with our on-screen controls only via accessible methods, then our automated functional tests will prove that a screen reader can interact with the page accessibly before we even start putting effort into proper automated accessibility testing.</p><p>There are additional tools as well, such as “accessibility linters” (one example is the <a href="https://www.deque.com/axe/devtools/linter/">Deque Axe DevTools Linter</a>, a further discussion on available linters can be found <a href="https://www.digitala11y.com/free-accessibility-linters-to-automate-accessibility-workflow/">here</a>). These assistive tools look at the product code as it is being developed and helpfully point out accessibility-related code errors or omissions to the developer on the fly. This is assistive technology working intelligently with your team, not slowing it down.</p><p>The upshot of these changes is we cut code once, and only once: do it once, then move on. We don’t have to cut some code, test it separately, go back, fix it, fix the other features that use it… just do it once. Shorter, faster, cheaper, less risk.</p><p>Accessibility is a contributing factor in development, functional testing, automated accessibility testing, and feature review. It is not something that happens when a feature gets chucked over the fence for testing. It is owned by the whole team.</p><p>So, in summary… automated accessibility testing is good, but it is only the start of the journey. Build it in to everything you do and use the available tools. Integrate it into the development and review processes — connect the dots and close the feedback loop between the testing and the fixing, and you’ll find that when the time comes to take stock of your finished product, instead of needing to start a new “upgrade to accessibility” journey, you will realise that you have already arrived.</p><p><strong><em>Useful Tools</em></strong></p><p>Puppeteer: <a href="https://pptr.dev/">https://pptr.dev/</a></p><p>Selenium: <a href="https://www.selenium.dev/">https://www.selenium.dev/</a></p><p>JAWS: <a href="https://en.wikipedia.org/wiki/JAWS_(screen_reader)">https://en.wikipedia.org/wiki/JAWS_(screen_reader)</a></p><p>Accessibility Linter: <a href="https://www.deque.com/axe/devtools/linter/">https://www.deque.com/axe/devtools/linter/</a></p><p>Free Accessibility Linters to Automate Accessibility Workflow :<br><a href="https://www.digitala11y.com/free-accessibility-linters-to-automate-accessibility-workflow/">https://www.digitala11y.com/free-accessibility-linters-to-automate-accessibility-workflow/</a></p><p><strong><em>References</em></strong></p><p>Accessibility testing (WCAG, 2019) (Accessed: January 2024) <br><a href="https://www.w3.org/wiki/Accessibility_testing">https://www.w3.org/wiki/Accessibility_testing</a></p><p>Accessibility Testing: An Essential Guide (Sourojit Das, 2022) <br><a href="https://www.browserstack.com/guide/accessibility-testing">https://www.browserstack.com/guide/accessibility-testing</a>.</p><p>How to do accessibility testing (DWP) (Accessed: January 2024) <br><a href="https://accessibility-manual.dwp.gov.uk/best-practice/how-to-do-accessibility-testing">https://accessibility-manual.dwp.gov.uk/best-practice/how-to-do-accessibility-testing</a></p><p>Testing for accessibility (UK Gov, October 2023) (Accessed: January 2024) <br><a href="https://www.gov.uk/service-manual/helping-people-to-use-your-service/testing-for-accessibility">https://www.gov.uk/service-manual/helping-people-to-use-your-service/testing-for-accessibility</a></p><p>Understanding accessibility requirements for public sector bodies (UK Gov, October 2023) (Accessed: February 2024) <br><a href="https://www.gov.uk/guidance/accessibility-requirements-for-public-sector-websites-and-apps">https://www.gov.uk/guidance/accessibility-requirements-for-public-sector-websites-and-apps</a></p><p>WCAG 2.2 and what it means for you (Abbott, 2024) <br> <a href="https://www.craigabbott.co.uk/blog/wcag-22-and-what-it-means-for-you/">https://www.craigabbott.co.uk/blog/wcag-22-and-what-it-means-for-you/</a></p><p><strong>Disclaimer</strong></p><p><em>Note: This article speaks only to my personal views/experiences is not published on behalf of Deloitte LLP and associated firms, and does not constitute professional or legal advice.</em></p><p><em>All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b72f950b1b5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deloitte-uk-cloud-blog/harnessing-the-power-of-automated-accessibility-testing-3b72f950b1b5">Harnessing the power of automated Accessibility testing</a> was originally published in <a href="https://medium.com/deloitte-uk-cloud-blog">Deloitte UK Engineering Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fail Fast, Succeed Faster…]]></title>
            <link>https://medium.com/deloitte-uk-cloud-blog/fail-fast-succeed-faster-b36e5cb18e6f?source=rss-b2ff09ea40f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/b36e5cb18e6f</guid>
            <category><![CDATA[test-strategy]]></category>
            <category><![CDATA[qa-and-testing]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[testing-tools]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[John Gimber]]></dc:creator>
            <pubDate>Mon, 30 Oct 2023 09:19:49 GMT</pubDate>
            <atom:updated>2023-10-30T09:19:49.552Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q1WQhgE7MjP6E40Q-r3KLA.png" /></figure><p>Automated testing is a great way to speed up testing on a product. These automated tests can quickly grow in number, increasing test coverage and giving us the capability of trapping and reporting on issues and successes in our product far faster than if we were testing manually. Granted, there are setup costs — setting up the test framework and writing the tests, but once they are up and running… that’s where the unsung beauty of a testing strategy comes in.</p><p>We all want the tests to pass, right? Overall, yes; but if they’re going to fail, I want them to fail<em> fast.</em></p><p>Let’s assume that we have a mature product, with 400 tests running via a DevOps Continuous Integration / Continuous Delivery (CI/CD) pipeline.</p><p>“Great!” everyone says.</p><p>“Not great!” I say, “Not unless you test smarter, not just faster…”.</p><p>What does that mean?</p><p>Think of it this way:</p><p>Imagine those 400 tests take 4 hours to run. That means… between starting a test run and finding out the health of the full suite of tests, there’s a lot of waiting time. And time waiting is time wasted. The developers have the code on their machines, they’re in the zone — the code is fresh in their heads. If they move away to new work, it’ll take time to context-switch back again, both mentally and physically.</p><p>Oh sure, we can speed the tests up. There are all sorts of techniques we can use, including using APIs to set up test data, running tests in parallel, and even (dare I say it) helping to design the user interface (UI) upfront so that it’s easier to test in the first place. Depending on the test framework being used, we could even set up test dependencies (i.e., “only run tests 2.1, 2.2, and 2.3 IF test 2.0 passes…”). This is all good stuff. But we need to be smarter. So, let’s look at a classic CI/CD pipeline.</p><ol><li>Somebody checks code into the code repository.</li><li>The CI/CD server detects the code change, and</li><li>… Checks out the new code.</li><li>… Builds the product/environment for it.</li><li>… Runs all tests against the product.</li><li>… Reports on the quality of the product.</li></ol><p>But… this takes too long. If there’s a problem, we need to know as fast as possible. Not four hours later. The easiest way of doing that is to test smart and split out the testing part of the pipeline into multiple steps (or jobs).</p><h3>Health-Check Tests</h3><p>But how? Initially, by creating a series of basic tests that exercise the product infrastructure. These could include any of the following things:</p><ul><li>Submit/retrieve data via API calls.</li><li>Store/retrieve values from a database.</li><li>Exercise the product authentication system (logging in with various privileges).</li><li>Ensure that the front-end UI is being served.</li><li>Ping third-party systems or sites that the product relies on.</li></ul><p>This small subset of tests will do one thing, and one thing only — it will tell you whether the system is ready for testing or not. And it’ll do it quickly (under a minute is not unrealistic), and it’ll do it cheaply. These Health-Check tests are what we need.</p><p>So now our CI/CD pipeline looks like this:</p><ol><li>Somebody checks code into the code repository.</li><li>CI/CD server detects the code change, and</li><li>… Checks out the new code.</li><li>… Builds the product/environment for it.</li><li><strong><em>… Runs the HealthCheck tests against the product.<br></em></strong>IF the Health-Checks fail, STOP.<br>IF the Health-Checks pass, CONTINUE.</li><li>… Runs the full suite of tests, knowing that the infrastructure is suitable for full testing.</li><li>… Reports on the quality of the product.</li></ol><p>This approach has multiple benefits. If the tests are going to fail, we know in seconds, not hours. If they don’t fail, we still run the full set of tests, and get a comprehensive readout on the quality of the results.</p><h3>Critical-Risk Tests</h3><p>We can split this pipeline out further by taking a risk-based approach to the automated tests. For example, if we had a critical module around which the product was based (maybe an API Gateway, or a specific calculation module), we could focus on those too:</p><p>So now our CI/CD pipeline looks like this:</p><ol><li>Somebody checks code into the code repository.</li><li>CI/CD server detects the code change, and</li><li>… Checks out the new code.</li><li>… Builds the product/environment for it.</li><li><strong><em>… Runs the Health-Check tests.</em></strong><br>IF the Health-Checks fail, STOP.<br>IF the Health-Checks pass, CONTINUE.</li><li><strong><em>… Runs the subset of Critical Risk tests.</em></strong><br>IF the Critical tests fail, STOP.<br>IF the Critical tests pass, CONTINUE.</li><li>… Runs the remaining tests, knowing that the infrastructure and key functionality are suitable for full testing.</li><li>… Reports on the quality of the product.</li></ol><p>Again, we’re focusing on critical failures, and halting work immediately to avoid waiting hours while tests that we know are going to fail take the time to fail. Plus, if you think about it… waiting 4 hours for a failure to pop out has other knock-on effects. This may halt other test runs from commencing, thus increasing the feedback loop even further, and if we’re running 4 hours of tests that aren’t needed — this takes processing time, and therefore electricity. Hence, failing fast is not only better for the developers, testers, and team, but it’s also better for the wallet and reduces the carbon footprint of testing activities.</p><p>The pipeline can be modified further to factor in unit testing of basic functions, static code analysis, security checking of software libraries or dependencies… you name it. But as your test coverage increases, remember to be smart about it, think about <em>how</em> you want your tests to run, and decide what your priorities are. Remember — we’re not duplicating test effort here, we’re choosing a smart order for the tests to run in.</p><h3>Conclusion</h3><p>So, to come back to the original point — automated testing is good, but it can be great if there’s a strategy to back it up. Using this approach, the same tests as before can provide results faster and cheaper, therefore keeping your teams productively focused on the task at hand, avoiding context switching and hold-ups.</p><p><strong>Bottom line</strong>: don’t be afraid to fail fast — welcome it.</p><h3>References</h3><p>For more information on the topics discussed here, please see:</p><p>What is CI/CD? (no date) GitLab (Accessed: 27th October 2023) <br><a href="https://about.gitlab.com/topics/ci-cd/">https://about.gitlab.com/topics/ci-cd/</a></p><p>Jenkins: Build great things at any scale (no date) Jenkins (Accessed: 27th October 2023). <br><a href="https://www.jenkins.io/">https://www.jenkins.io/</a></p><p>Top Test Automation Frameworks in 2023 (MacGregor, 2023). <br><a href="https://saucelabs.com/resources/blog/top-test-automation-frameworks-in-2023">https://saucelabs.com/resources/blog/top-test-automation-frameworks-in-2023</a></p><p><em>Note: This article speaks only to my personal views/experiences and is not published on behalf of Deloitte LLP and associated firms, and does not constitute professional or legal advice.</em></p><p><em>All product names, logos, and brands are the property of their respective owners. All company, product, and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b36e5cb18e6f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deloitte-uk-cloud-blog/fail-fast-succeed-faster-b36e5cb18e6f">Fail Fast, Succeed Faster…</a> was originally published in <a href="https://medium.com/deloitte-uk-cloud-blog">Deloitte UK Engineering Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>