Skip to main content

MagicBullet v3.0.0

This patch addresses various accessibility issues across all Career Sites. This is a temporary solution until these issues can be resolved by the product team. The issues that are remediated by this script can now be found in the Career Site ACR. If there are any questions or concerns with the script, please reach out to Michael Spellacy.

Installation Anchor ()

Before installing MagicBullet, please verify that it is not already running. If it is not, add the following:

<script id="radancy-magicbullet" src="https://clientfiles.tmpwebeng.com/shared-libraries/magicbullet/rolling/load.js" type="module"></script>

If you are accomodating an Akamai configuration request, then you may use a relative path:

<script id="radancy-magicbullet" src="/shared-libraries/magicbullet/rolling/load.js" type="module"></script>

Where To Install

Important: Never install MagicBullet at the theme level, as doing so can cause script conflicts and complicate future maintenance.

Verification Anchor ()

To verify that the script is running, check your browsers DevTools console for the following:

Screenshot of console messages, which include MagicBullet v3.0 in use.

If these messages are missing then the patch isn't loading and you'll need to troubleshoot.

Troubleshooting Anchor ()

  1. Ensure only one instance of MagicBullet loads per page. Multiple MagicBullet scripts can prevent it from running.
  2. MagicBullet can also be initiated via JavaScript to support conditional loading (usually of data attributes). If a conflict occurs, check whether the script is created dynamically. If it exists in your JavaScript, please reach out to Michael Spellacy for further assistance. It may look like this:

    var magicBullet = document.createElement("script");
    magicBullet.setAttribute("id", "radancy-magicbullet");
    magicBullet.setAttribute("data-gdpr", "false");
    magicBullet.setAttribute("data-gdpr-client-name", "Acme Inc.");
    magicBullet.setAttribute("data-gdpr-policy-url", "https://acme.com/privacy-policy.html");
    magicBullet.setAttribute("src", "https://services.tmpwebeng.com/magicbullet/");
    document.body.appendChild(magicBullet);

  3. Razor commenting does not appear to be supported in Settings. If an older version of MagicBullet exists there, delete it entirely or use HTML comments to remove it.
  4. If you believe that MagicBullet is causing an issue on your page, you may temporarily disable it by passing the following URL parameter: ?magicbullet=false.

Upgrading From Legacy MagicBullet Anchor ()

Older career sites load MagicBullet from https://services.tmpwebeng.com/magicbullet/, where a single script tag can also turn on the legacy System Alert, GDPR and CCPA scripts. The new MagicBullet path only loads the accessibility patch, so if any of those legacy scripts are in use, decouple them into their own script tags that point to clientfiles. For example, a site using the System Alert:

<script id="radancy-magicbullet" src="https://clientfiles.tmpwebeng.com/shared-libraries/magicbullet/rolling/load.js" type="module"></script>

<script id="radancy-alert" data-alert-message="..." src="https://clientfiles.tmpwebeng.com/shared-libraries/legacy-alert/rolling/load.js"></script>

The GDPR and CCPA scripts work the same way:

<script id="radancy-gdpr" data-gdpr-policy-url="..." src="https://clientfiles.tmpwebeng.com/shared-libraries/legacy-gdpr/rolling/load.js"></script>

<script id="radancy-ccpa" data-ccpa-policy-url="..." src="https://clientfiles.tmpwebeng.com/shared-libraries/legacy-ccpa/rolling/load.js"></script>

Move each script's other settings (for example data-alert-message or data-gdpr-policy-url) to its new script tag. When upgrading, the data-a11y, data-alert, data-gdpr and data-ccpa attributes are no longer required.

Post-Installation Smoke-Test Anchor ()

After it has been confirmed that the script is running you must smoke-test your pages to ensure the site's core functionality still works and that there are no visual issues. MagicBullet only addresses issues under the hood that relate to accessibility, but minor issues can occasionally occur. If you are sure that MagicBullet is causing an issue, please reach out to Michael Spellacy.

Note: MagicBullet follows a monthly build schedule, with updates pushed to production during the first week of each month. Until then, QA and production environments may be out of sync.

Code Anchor ()

/*!

  Radancy MagicBullet: Asset Loader

  Contributor(s):
  Michael "Spell" Spellacy

*/

(() => {

  const magicBulletLoader = document.getElementById("radancy-magicbullet");

  // Get hostname so that we can select between QA and Production files. Uses the document's base URL rather than
  // location so that tools that serve a copy of the page with a <base> tag (e.g. the WAVE online report) still
  // resolve to the original site's environment.

  let hostName = new URL(document.baseURI).hostname;

  // Localhost (any port) loads the QA version too.

  const localHost = hostName === "localhost";

  // Strip subdomain for test paths

  hostName = hostName.substring(hostName.indexOf(".") + 1);

  const QADomains = localHost || hostName === "runmytests.com" || hostName === "runmytests.eu" || hostName === "talentbrew.com" || hostName === "tmpqa.com" || hostName === "radancy.net" || hostName === "searchgreatcareers.com" || hostName === "searchgreatcareers.eu";

  // Add MagicBullet CSS

  const magicBulletCSS = document.createElement("link");
  magicBulletCSS.setAttribute("id", "magicbullet-css");
  magicBulletCSS.setAttribute("rel", "stylesheet");

  // Add MagicBullet Script

  const magicBulletScript = document.createElement("script");
  magicBulletScript.setAttribute("id", "magicbullet-js");
  magicBulletScript.setAttribute("type", "module");

  // Run QA version

  if (QADomains) {

    magicBulletCSS.setAttribute("href", "https://radancy.dev/magicbullet/init.css");
    magicBulletScript.setAttribute("src", "https://radancy.dev/magicbullet/init.js");

  } else {

    // Run production version. If this loader was included from clientfiles.tmpwebeng.com, or the
    // #radancy-magicbullet tag is missing, load the full path. 
    // Otherwise use the relative path on every career site set up with DDR.

    const assetOrigin = "https://clientfiles.tmpwebeng.com";
    const assetPath = "/shared-libraries/magicbullet/rolling/";
    const fullPath = assetOrigin + assetPath;
    const assetBase = !magicBulletLoader || magicBulletLoader.src.includes(assetOrigin) ? fullPath : assetPath;

    magicBulletCSS.setAttribute("href", assetBase + "init.css");
    magicBulletScript.setAttribute("src", assetBase + "init.js");

  }

  // Append CSS and Script to DOM.

  document.head.appendChild(magicBulletCSS);
  document.body.appendChild(magicBulletScript);

})();
/*!

  Radancy MagicBullet: Accessibility Patch

  Contributor(s):
  Michael "Spell" Spellacy

*/

import { observeComponent, bindComponents } from "./util/observe-component.js";
import { runSafely } from "./util/run-safely.js";

import { fixA11y } from "./patch/a11y.js";
import { fixAdvancedSearchForm } from "./patch/advanced-search-form.js";
import { fixAltAttribute } from "./patch/alt-attribute.js";
import { fixAppliedFilter } from "./patch/applied-filter.js";
import { fixCookieManagement } from "./patch/cookie-management.js";
import { fixCMS } from "./patch/cms.js";
import { fixDataForm } from "./patch/data-form.js";
import { fixGlobalDisclosure } from "./patch/global-disclosure.js";
import { fixIframeElement } from "./patch/iframe-element.js";
import { fixKeywordSearch } from "./patch/keyword-search.js";
import { fixInputElements } from "./patch/input-elements.js";
import { fixMindReaderInput } from "./patch/mind-reader-input.js";
import { fixMindReaderList } from "./patch/mind-reader-list.js";
import { fixHeader } from "./patch/header.js";
import { fixJobDescription } from "./patch/job-description.js";
import { fixJobLocation } from "./patch/job-location.js";
import { fixJobMap } from "./patch/job-map.js";
import { fixSaveJobButton } from "./patch/save-job-button.js";
import { fixSavedJobsLink } from "./patch/saved-jobs-link.js";
import { fixSearchForm } from "./patch/search-form.js";
import { fixSearchFilters } from "./patch/search-filters.js";
import { fixSearchResults } from "./patch/search-results.js";
import { fixSearchSort } from "./patch/search-sort.js";
import { fixSearchPagination } from "./patch/search-pagination.js";
import { fixSitemap } from "./patch/sitemap.js";
import { fixSocialShare } from "./patch/social-share.js";
import { fixPrivacyNotice } from "./patch/privacy-notice.js";

// Note: The language pack is imported like any other module (see the patch/ files), so the browser has run it, and
// every label is set, before this file runs. No loader or callback needed.

console.log("%cMagicBullet%cv3.0.0", "background: #2d2d2d; color: #fff; padding: 6px 10px; border-radius: 16px 0 0 16px; font-weight: 600;" , "background: #6e00ee; color: #fff; padding: 6px 10px; border-radius: 0 16px 16px 0; font-weight: 600;");

const bodyNode = document.body;

// Add A11y hook for implementation team. May come in handy. Or not.

bodyNode.classList.add("magicbullet-a11y");

// Add global aria-live to pass messages to when needed.

const existingLiveRegion = document.querySelector("#magicbullet-message");

if(!existingLiveRegion) {

  const liveRegion = document.createElement("div");

  liveRegion.classList.add("magicbullet-visually-hidden");
  liveRegion.setAttribute("id", "magicbullet-message");
  liveRegion.setAttribute("aria-live", "polite");
  bodyNode.append(liveRegion);

}

// Architecture: Each component fix owns a MutationObserver scoped to its own container (see initComponentPatch()
// and observeComponent()), so a change in one component only re-runs that component's fix. The one page-wide
// observer below handles the two jobs that have no single container: running the sitewide fixes (images, iframes,
// checkboxes, disclosures, save job buttons) and discovering component containers added or replaced after load.

const pageNode = document.querySelector("#page") || bodyNode;

const pageConfig = { childList: true, subtree: true };

// Fix: Some components are injected straight into <body>, outside #page (e.g. the cookie consent dialog,
// #system-ialert, and MindReader's result lists). Also watch body's direct children (not its subtree, so busy
// third-party widgets don't trigger runs) so those are found when added, not on the next unrelated #page change.

const bodyChildrenConfig = { childList: true };

function observeSitewide() {

  sitewideObserver.observe(pageNode, pageConfig);

  if (pageNode !== bodyNode) {

    sitewideObserver.observe(bodyNode, bodyChildrenConfig);

  }

}

// Note: The first mutation disconnects the observer and schedules one run after the burst settles. No clearTimeout is
// needed: the callback can't fire again until the timer has run and reconnected the observer. Mutations made while
// disconnected are still covered, since the run scans the whole page.

const sitewideObserver = new MutationObserver(function() {

  sitewideObserver.disconnect();

  setTimeout(function() {

    initDynamicPatch();

    bindComponents();

    observeSitewide();

  }, 1000);

});

initStaticPatch();

initDynamicPatch();

initComponentPatch();

observeSitewide();

// Accessibility Patch: Dynamic (Sitewide)
// Desc: These fixes target elements that can appear anywhere on the page, with no single container to observe.
// They run on page load and again whenever the sitewide observer sees a change under #page.

function initDynamicPatch() {

  runSafely(fixAltAttribute);
  runSafely(fixGlobalDisclosure);
  runSafely(fixIframeElement);
  runSafely(fixInputElements);
  runSafely(fixSaveJobButton);

  console.log("%cMagicBullet%cDynamic Scripts \u2714", "background: #2d2d2d; color: #fff; padding: 6px 10px; border-radius: 16px 0 0 16px; font-weight: 600;" , "background: #228B22; color: #fff; padding: 6px 10px; border-radius: 0 16px 16px 0; font-weight: 600;");

}

// Accessibility Patch: Dynamic (Components)
// Desc: These fixes each target a specific component. Each component instance is fixed once when found, then
// re-fixed by its own observer whenever its container changes. See observeComponent() for the options.

function initComponentPatch() {

  observeComponent(".search-results-options", fixAppliedFilter);
  observeComponent(".data-form", fixDataForm);

  // Note: Observing the input's form so the fix re-runs if the autocomplete popup is added after load.
  // The popup's own contents are watched by the dedicated keywordObserver inside fixKeywordSearch().

  observeComponent(".search-keyword", fixKeywordSearch, { target: function(input) { return input.form || input.parentNode; } });
  observeComponent("input.search-location, input.keyword-category, input.keyword-location, input.keyword-facet", fixMindReaderInput, { target: function(input) { return input.form || input.parentNode; } });

  // Note: The list fix runs immediately (no debounce) so roles and IDs are on the options before the user arrows through them.

  observeComponent(".mindreader-status, #wrapper-sel-city", fixMindReaderList, { debounce: 0 });
  observeComponent("#system-imessage", fixPrivacyNotice);
  observeComponent("[data-selector-name=recentlyviewedjoblist]", fixSavedJobsLink, {

    target: function(jobList) { return jobList.parentNode; },
    config: { childList: true, subtree: true, attributes: true, attributeFilter: ["data-recently-viewed-jobs"] },
    debounce: 0

  });

  observeComponent("#search-filters", fixSearchFilters);

  // Note: #search-results is replaced wholesale on update, so these observe its parent. fixSearchResults and fixSearchSort
  // only bind once per component (they manage their own observer/listener), so they don't need a re-run observer.

  observeComponent("#search-results", fixSearchResults, { observe: false });
  observeComponent("select[data-search-results-sort-enhanced='true']", fixSearchSort, { observe: false });
  observeComponent("#search-results", fixSearchPagination, { target: function(searchResults) { return searchResults.parentNode; } });

  bindComponents();

  console.log("%cMagicBullet%cComponent Scripts ✔", "background: #2d2d2d; color: #fff; padding: 6px 10px; border-radius: 16px 0 0 16px; font-weight: 600;" , "background: #228B22; color: #fff; padding: 6px 10px; border-radius: 0 16px 16px 0; font-weight: 600;");

}

// Accessibility Patch: Static
// Desc: These fixes address issues that occur on page load only.

function initStaticPatch() {

  runSafely(fixA11y);
  runSafely(fixAdvancedSearchForm);
  runSafely(fixCookieManagement);
  runSafely(fixCMS);
  runSafely(fixHeader);
  runSafely(fixJobDescription);
  runSafely(fixJobLocation); 
  runSafely(fixJobMap);
  runSafely(fixSearchForm);
  runSafely(fixSitemap);
  runSafely(fixSocialShare);

  console.log("%cMagicBullet%cStatic Scripts \u2714", "background: #2d2d2d; color: #fff; padding: 6px 10px; border-radius: 16px 0 0 16px; font-weight: 600;" , "background: #228B22; color: #fff; padding: 6px 10px; border-radius: 0 16px 16px 0; font-weight: 600;");

}
/*!

  Radancy MagicBullet: Accessibility Patch

  Contributor(s):
  Michael "Spell" Spellacy

*/

/* Visually Hide Content */

.magicbullet-visually-hidden:not(:focus):not(:active) {
clip: rect(0 0 0 0); 
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap; 
width: 1px;
}

/* Ensure that all placeholder text is contrast friendly. */

::-moz-placeholder {
color: currentColor;
opacity: 1;
}
    
::-webkit-input-placeholder {
color: currentColor;
}

/* 

Create default outline for FireFox. 
This override the rest and normalize CSS and is not a permanent solution, but better than what we have now. 
See https://github.com/radancy-pe/uid-base-gst/issues/155
*/

button:-moz-focusring {
outline-style: auto !important;
}

/* Hide Empty Elements */

h1, h2, h3, h4, h5, h6, label {

    &:empty {
    display: none;
    }

}

/* Access Link */

a.access-link {
outline-color: revert;
outline-offset: 4px;
top: 8px;
z-index: 2147483647 !important;

  &:focus {
  left: 8px;
  }

}

/* Search Location Datalist */

.a11y-search-location {

    .mindreader-results, .mindreader-status, .display-typeahead {
    display: none !important;
    }

    .search-location {
    z-index: 0 !important;
    }

}

/* Mindreader */

.mindreader-results {
padding: 0;

  /* Fix: Always set each autocomplete link to block, so that we can... */

  a {
  display: block;
  padding: .5em 1em;

    /* ... highlight the background, which is not always done. */ 

    &.active {
    background-color: #eee;
    outline: 1px #000 solid;
    outline-offset: -4px;
    }

  }

}

/*  Data Forms */

.data-form {

  .form-field {
    
    &.required {
        
      label {

        /* A11YFORM001 */

        &::after {
        display: none;
        }

        .ico-required-indicator {
        display: inline-block;
        margin-inline-start: 0.5em;
        }

      }

    }

  }

  .data-form__close {
    
    &::after {
    display: none !important;
    }

  }

  .data-form__closeicon {
  display: block;
  pointer-events: none;

    &::after {
    border-radius: 10px;
    color: inherit;
    content: "+";
    display: inline-block;
    font: normal calc(24em/16) / .65em Arial, sans-serif;
    margin: -2px 0 0 10px;
    padding: 4px;
    position: absolute;
    right: 4px;
    text-indent: 0;
    text-shadow: none;
    text-transform: lowercase;
    top: 0;
    transform: rotate(45deg);
    } 

  }

  /* legends do not require an asterick */

  legend {

    &::after {
    display: none;
    }

  }

}

/* removing frameborder */

.grecaptcha-badge {

  iframe {
  border: 0;
  }

}

/* Search Form: Basic */

.search-form {

  .search-location-error, .search-form__location-error {
  outline: 0;

    background-color: #fff;

    &:empty {
    display: none;
    }

  }

}

/* 

  Since we are removing aria-expanded from various, non-interactive elements, we need to make sure it is not impacting ajax functionality that may look them and keep component open.
  Fortunately, we can use the open class to our advantage. 

*/

.search-filter-list, .search-filters__list {
    
  &.expandable-childlist-open {
  display: block;
  }

}

/* 

  On mobile, when the search filter is open, the entire page can be accidentialy refreshed when scrolling. This is aggrivating, causing user to have open the filers again. 
  Also adding default color to scrollbar as default often not discernable

*/

#search-filters {

  &.open {
  overscroll-behavior: none;
  }

}

/* The typeahead text sometimes interferes with the text being typed, making things illegible. Removing for now as I do not it is absolutely necessary to include. The dropdown should be sufficient. */

.display-typeahead {
display: none;
}

/* The comboxbox on the Job Map page is severaly broken for accessibility. An easier way to address this issue is to always have the <select> present. */

#wrapper-sel-city {
height: auto;

  &[hidden] {
  display: none !important;
  }

}

#sel-city, label[for="sel-city"] {
display: block !important;

  option:first-child {
  display: none;
  }

}

label[for="sel-cityundefined"], .combobox-container {
display: none !important;
}

.keyword-region { 
display: contents;
}

/*

AJD "Back to Navigation" Links
Issue: WAVE is reporting contrast issue due to opacity: 0 on the hyperlinks. To override, we set opacity to 1 or auto and hide the link using clip. Allso ensuring good contrast.

*/

.inPageNav__back-link, .back-to-ajd-nav__a {
background-color: #666;
clip: rect(0, 0, 0, 0);
color: #fff;
opacity: 1;

  &:focus {
  background-color: #666;
  clip: auto;
  }

}

/* Refine Keyword */

#refined-search {

  #add-keyword[disabled], #add-keyword[disabled]:hover, #add-keyword[disabled]:focus, #add-keyword[disabled]:focus-visible {
  background-color: revert !important;
  border-color: revert !important;
  color: revert !important;
  cursor: revert !important;
  pointer-events: revert !important;
  }

}


/* Search Pagination */

/* Fix: Pagination Next and Prev still show hover state when "disabled". This gives false impression that it is interactive. */

.pagination {

  .prev, .next {

    &.disabled {
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    color: #ccc !important;
    cursor: pointer !important; /* Probably do not need this, since href being removed */
    pointer-events: none !important;

      &::after, &::before {
      color: inherit !important;
      } 

    }

  }

}

/* Fix: We appear to be removing the up and down arrow on input[number] because we do not like the way it looks, but this prevents users from understanding how to use the input. The visual que is very important here. */

.pagination-current {
max-inline-size: fit-content !important;
appearance: auto !important;
width: auto !important;
-moz-appearance: auto !important;

  &::-webkit-outer-spin-button, &::-webkit-inner-spin-button {

     -webkit-appearance: auto !important;

  }

}

/* Fix: The AJD header should not be "sticky" under certain conditions as this impacts Reflow, Resize, Focus Obscured, etc. */

@media (height <= 600px) {

  #ajd-header {
  position: relative !important;
  }

}

/* Fix: The keyword-region in job alerts is still present to AT users even though it is not populated with content. To fix, simply hiding with CSS, tho I should check to see if i can do this in the JS instead if thise is a section I am dynamically adding to the DOM */

.keyword-region:not(:has(li)) {
display: none !important;
}

Release Notes Anchor (Release Notes)

Keep up to date on major changes to this component.

Maintenance
December 3, 2026: The loader now reads the hostname from the page's base URL (document.baseURI) instead of location, so tools that test a copy of the page, such as WebAIM's WAVE online report, load the same QA or production version as the site itself.
Bug
December 1, 2026: The Save Job button fix now also covers buttons that load already saved (.js-unsave-job-btn), so they get the same label, role='button' and aria-pressed state.
Behavior
November 30, 2026: Job map Search Nearby buttons (Bus, Metro, Restaurants, etc.) no longer have a target attribute, since they act as toggle buttons.
Maintenance
November 23, 2026: The loader now treats searchgreatcareers.com and searchgreatcareers.eu as QA domains.
Bug
November 18, 2026: MindReader results lists next to a native select are now skipped, fixing a broken aria-labelledby reference flagged by WAVE.
Feature
November 12, 2026: On small viewports, the search filters panel is now a modal dialog (role='dialog', aria-modal, inert background) that closes with Escape or a click outside, with focus starting on the Close button.
Behavior
November 12, 2026: Main content gets tabindex='-1' again so skip links can move focus to it. On large viewports, search filters are a region.
Maintenance
November 11, 2026: Rebuilt the patch as ES modules, with one file per fix in patch/ and helpers in util/. Each fix runs inside runSafely(), so one failing fix no longer stops the rest.
Maintenance
November 9, 2026: The language pack is now an ES module (lang.js) imported by each fix, so translated labels are ready before any fix runs.
Feature
November 7, 2026: Search form location errors now have a solid background for contrast and are hidden when empty.
Behavior
November 6, 2026: Each component now has its own MutationObserver through observeComponent(), so a change in one component only re-runs that component's fix.
Bug
October 22, 2026: MindReader comboboxes no longer bind duplicate key listeners, job map State and ZIP fields both update the city field, and share link 'opens in new window' text is spaced correctly.
Bug
October 9, 2026: Data form file upload buttons now get type='button', so pressing them no longer submits the form.
Feature
September 16, 2026: The privacy notice close button gets a translated name, and the notice is labelled by its own heading. Pagination Previous and Next links get role='button' and Spacebar support.
Feature
September 16, 2026: Required job alert fields get required, the empty keyword region is hidden until it has items, and the combobox fix now covers keyword facet inputs.
Feature
September 1, 2026: Data form placeholders that repeat the field's label are removed, so screen readers no longer read the same text twice.
Feature
August 7, 2026: The skip link is offset from the viewport edge, Firefox shows a focus ring on buttons, the search form becomes a search landmark, and the sticky AJD header stops sticking on short viewports.
Bug
July 28, 2026: The page no longer jumps when MagicBullet updates a component, because the scroll position is saved and restored.
Feature
July 27, 2026: Keyword search autocomplete gets usage instructions, a labelled popup and an announced suggestion count, and Escape returns focus to the input.
Feature
July 21, 2026: A translated 'Loading new results' message is announced when results update, and result counts are now based on actual job links.
Feature
July 15, 2026: Job map Search Nearby buttons (Bus, Metro, Restaurants, etc.) use aria-pressed, the Get Directions address field gets autocomplete='street-address', and sort order changes are announced.
Bug
July 15, 2026: The search results count is now announced once per real change instead of on every DOM update.
Feature
June 25, 2026: Links that open in a new window (job descriptions, CMS content, social share) now include translated, visually hidden 'opens in new window' text.
Feature
June 24, 2026: Job alert keyword areas now manage focus after a keyword is added or removed, remove links get role='button', and asterisks only appear on required fields.
Feature
June 20, 2026: Language support now added! Switched to three point version and bumped up to 3.0.0
Maintenance
June 17, 2026: Added the load.js loader, which loads the patch as an ES module or a classic script depending on the embed tag.
Bug
June 4, 2026: Fixed selectors that stopped the YouTube and Vimeo iframe title fix from running. The results count now only counts top-level result items.
Behavior
April 6, 2026: The job alerts submit button is labelled 'Submit Job Alerts', and the English 'Search Jobs' label is only applied on English pages.
Feature
March 19, 2026: Added Fix CMS, which turns data-cms-mb-lang and data-cms-mb-scope into real lang and scope attributes.
Feature
February 10, 2026: Disabled pagination Previous and Next controls get aria-disabled='true' and lose their hover styling.
Bug
January 12, 2026: Save job and search filter fixes no longer throw errors on pages without the recently viewed list or refined search section.
Feature
January 3, 2026: Result updates are announced as 'X of Y results', the pagination number input shows its spin buttons again, and the refine search keyword error is linked to its input.
Feature
December 18, 2025: Saved Jobs links get an aria-label with the saved count, and duplicate Save buttons for the same job update aria-pressed together.
Feature
December 17, 2025: The Refine Search keyword field announces added keywords, and focus returns to the input when an error shows.
Feature
December 12, 2025: MagicBullet can now be turned off for testing with ?magicbullet=false.
Maintenance
December 12, 2025: The patch stylesheet is now plain CSS with native nesting instead of compiled Sass.
Feature
December 11, 2025: Search results pagination announces 'Loading New Results', then moves focus to the first link in the new results.
Behavior
December 11, 2025: Pagination cleanup is limited to search results, an existing aria-label is no longer overwritten, and disabled controls can no longer be focused.
Bug
September 12, 2025: Fixed a class name typo that left the global live region visible on screen.
Feature
September 3, 2025: The number of available results is announced after search results update.
Feature
September 2, 2025: Added a sitewide polite live region (#magicbullet-message) for screen reader announcements.
Bug
August 28, 2025: The data form close button icon stays visible and no longer blocks clicks.
Feature
July 16, 2025: AJD 'Back to Navigation' links have enough contrast and appear when they receive keyboard focus.
Bug
June 26, 2025: aria-hidden is only removed from the search form location pin when the pin is displayed.
Feature
June 24, 2025: Vimeo iframes with no title now get 'Vimeo video player'.
Behavior
June 9, 2025: Empty links are now hidden, along with empty headings and labels.
Feature
June 7, 2025: The main header nav is named 'Main' when it has no name, and outdated skip links on search results pages are removed.
Behavior
April 16, 2025: MindReader autocomplete sets aria-expanded on load and resets it when focus leaves or Escape is pressed.
Bug
April 2, 2025: Removed the invalid aria-expanded from the Refine Search keyword error message.
Bug
March 26, 2025: Form labels are no longer trimmed when the required asterisk is removed, fixing missing spaces in labels that contain links.
Bug
March 20, 2025: The search form fix no longer throws an error when the form has no fields wrapper.
Feature
March 12, 2025: The highlighted MindReader autocomplete option now has a visible outline.
Behavior
February 18, 2025: Removed redundant hidden instruction text from the search results pagination label.
Maintenance
February 12, 2025: Turned off the Job List fix that moved location and date into the job link, as it caused problems on some lists.
Behavior
February 3, 2025: Applied Filters now use role='group' instead of region, and the search form and filter fixes support the newer BEM class names.
Maintenance
February 2, 2025: Removed the email confirmation override, which caused too many issues, so the platform default is used again.
Behavior
January 17, 2025: Placeholder text now uses the field's own text color instead of a fixed gray.
Behavior
January 14, 2025: Social share links now say '(Opens in new tab or window)' in visually hidden text.
Bug
January 13, 2025: Fixes run again on content loaded with AJAX, and global disclosure aria-expanded now follows the component's open state.
Bug
December 10, 2024: The job alert keyword region no longer disturbs the form layout.
Bug
December 3, 2024: Dynamic fixes no longer run twice on load, which had made disclosure aria-expanded toggle back.
Behavior
December 3, 2024: Required fields with server-returned errors now get aria-invalid='true' on load.
Feature
December 2, 2024: Added autocomplete tokens to job alert phone, address, city, state and postal code fields.
Behavior
December 2, 2024: The global disclosure fix now removes aria-hidden as well as aria-expanded from each disclosure panel.
Feature
October 11, 2024: Location comboboxes now point to hidden autocomplete instructions through aria-describedby.
Feature
October 11, 2024: On job map pages, the city select stays hidden until a state or ZIP is chosen, so users don't land on an empty dropdown.
Feature
October 3, 2024: Removed aria-required from the job location Get Directions inputs.
Feature
September 26, 2024: Removed invalid alt attributes from source elements.
Feature
September 19, 2024: Removed literal asterisks typed into required field labels, so screen readers don't announce them.
Behavior
September 13, 2024: MindReader comboboxes keep aria-expanded in sync with the results list, and each listbox is named by its label.
Feature
September 13, 2024: On job map pages, the native city select replaces the inaccessible custom combobox.
Bug
September 6, 2024: The CSS required asterisk no longer appears on legend elements in data forms.
Behavior
August 28, 2024: The alt fix now also empties whitespace-only alt values.
Feature
August 27, 2024: The highlighted MindReader suggestion now has a visible background, so keyboard users can see it.
Feature
August 22, 2024: Removed the incorrect aria-expanded from the advanced search form fields.
Feature
August 14, 2024: MindReader location and keyword inputs are now comboboxes, with listbox and option roles on the results and aria-activedescendant tracking the highlighted option.
Feature
July 9, 2024: Removed the incorrect aria-expanded from the search form fields.
Feature
June 25, 2024: The search filters panel is a labelled region, and each filter section is a group labelled by its toggle button.
Feature
June 24, 2024: YouTube iframes with no title now get one.
Maintenance
June 21, 2024: Reorganized the patch (v2.0) into static fixes that run once on load and dynamic fixes that a MutationObserver reapplies after DOM changes.
Behavior
June 19, 2024: Search form fields are a group named by the form's legend, and location errors are tied to the input with aria-describedby and aria-invalid, with focus moved back to the field.
Feature
June 17, 2024: Disclosure buttons that start open now report aria-expanded='true'.
Maintenance
May 30, 2024: Rewrote the patch from jQuery to vanilla JavaScript and retired several legacy fixes (Google Translate, Olivia, Altru, old Slick carousels and others).
Feature
May 30, 2024: Job alert forms: the form message gets tabindex='-1', its close link gets role='button', and selected keywords sit in a labelled region.
Maintenance
April 24, 2024: The loader now treats runmytests.eu as a QA domain.
Feature
April 19, 2024: Added a MutationObserver that runs fixes once the DOM settles, starting with an accessible name on the reCAPTCHA response textarea.
Maintenance
February 18, 2024: The loader loads the QA patch from radancy.dev and production from services.tmpwebeng.com, and also accepts the radancy-magicbullet script ID.
Behavior
February 15, 2024: Stopped moving focus to the cookie banner button on page load, because it caused cookie issues.
Feature
August 30, 2023: Focus moves to the cookie banner button when it is present, so keyboard and screen reader users meet it first.
Behavior
November 2, 2022: Applied filter buttons now read 'Remove [name] filter'.
Bug
May 19, 2022: The hidden 'Selected Job Alerts' label gets a unique ID per form, fixing duplicate IDs.
Feature
May 17, 2022: role='search' now also applies to advanced search forms, the skip link is forced above other content, and placeholder text is darkened for contrast.
Feature
April 14, 2022: Added an accessible name to the Olivia chatbot toggle, and the empty alt fallback now also runs after AJAX updates.
Feature
March 16, 2022: Job alert forms get an aria-hidden asterisk, autocomplete tokens on name and email fields, and aria-invalid that updates on submit and blur.
Feature
March 10, 2022: Removed user-scalable=no viewport tags so users can zoom, and placeholder text uses a higher-contrast color.
Feature
February 9, 2022: Removed broken aria-describedby references on the Cookie Management page.
Behavior
January 25, 2022: Save Job buttons get role='button' and a 'Save Job' label, working around iOS and NVDA not announcing aria-pressed.
Bug
January 10, 2022: The personalization section tabindex fix matches the current markup again.
Behavior
December 29, 2021: Following Level Access feedback, #search-results no longer gets a 'page X of Y' label.
Feature
December 17, 2021: Job alert forms label the selected keywords list and give clearer names to the Add and Sign Up buttons. Older Slick carousel arrows get 'Previous' and 'Next' labels.
Maintenance
November 19, 2021: Removed the old Simple Toggle helper (data-a11y-button) from the patch.
Feature
November 15, 2021: Added the patch stylesheet (a11y/init.css), an opt-in native datalist for location search, and an opt-in job list fix.
Behavior
November 15, 2021: The loader turns on the patch when a bare data-a11y attribute is present, instead of requiring data-a11y='true'.
Feature
October 14, 2021: Search location errors are tied to their field with aria-describedby and aria-invalid, search legends label their group, and pagination gets an aria-label.
Maintenance
October 4, 2021: The loader now treats radancy.dev as a QA domain.
Feature
September 13, 2021: Removed tabindex='0' from personalization sections, and removed misleading expand behavior from headings on sitemap pages.
Behavior
October 7, 2020: Job description cleanup no longer strips style and align, so client formatting is kept.
Maintenance
March 25, 2020: The loader's QA domains are now tmpworldwide.dev and tmpqa.com.
Feature
February 19, 2020: Job description cleanup unwraps legacy font elements.
Feature
December 17, 2019: Job descriptions are stripped of legacy presentational attributes, and applied filter buttons are labelled 'Remove [name]'.
Behavior
October 3, 2019: Removing role='status' from headings is limited to search results headings.
Behavior
June 24, 2019: Applied filter buttons use their visible text as their label, dropping the extra keyboard instructions.
Maintenance
May 20, 2019: Merged the separate QA and production copies of the patch into a single a11y/init.js.
Feature
April 4, 2019: Removed tabindex='0' from search filters and results. When an applied filter is removed, focus moves to the next filter or the first result.
Bug
January 30, 2019: The job description tabindex fix removes only the attribute instead of the whole element, and the applied filters fix also runs on page load.
Behavior
December 6, 2018: Form and applied filter fixes now run again after every AJAX update, so content loaded later is fixed too.
Behavior
December 3, 2018: Rebuilt the data-a11y-button toggle with real button elements and aria-controls, and opening it moves focus to the revealed content.
Bug
September 30, 2018: Removed the empty aria-describedby from the resume upload field, and its 'remove file' link is now a button.
Behavior
August 14, 2018: Links marked with data-a11y-button are converted to real button elements.
Feature
August 9, 2018: Added role='search' to search forms.
Bug
August 7, 2018: Added type='button' to Save Job buttons so VoiceOver announces their pressed state.
Feature
July 17, 2018: Added aria-pressed to Save Job buttons, updated on click and after AJAX updates.
Feature
July 11, 2018: Added a reusable toggle (data-a11y-button) with aria-expanded, keyboard support and Escape to close.
Feature
June 21, 2018: Disabled pagination links can no longer be reached by keyboard, and the search results announce the current page.
Feature
May 3, 2018: Added a label to the Google Translate language select, role='presentation' on job description tables, and removed autocomplete from checkboxes.
Feature
May 1, 2018: Initial accessibility patch, turned on with data-a11y. Fixes aria-expanded on expandable toggles, missing alt, new window links, Applied Filters ARIA, form markup and positive tabindex in job descriptions.

Report Issues

Find a bug? Want a new feature? Report it on JIRA. You're so awesome!