Swift A11y: a note for IT and security reviewers
Swift A11y is a set of fifteen accessibility testing tools for quality assurance testers and developers. It comes as a browser extension for Chrome, Edge and Firefox, and as bookmarklets. This note says what it can and cannot do, so a review can be done in one sitting. Every claim below can be checked against the source and the built files, and the last section says how.
In one paragraph
In Chrome and Edge the extension opens as a panel beside the page. It asks for three permissions: activeTab, scripting and sidePanel. It does nothing until a person presses its toolbar button (or Alt+Shift+S). The panel then offers two things on the tab the person is looking at: a scan with three accessibility engines that are bundled inside the package (axe-core, IBM Equal Access and Siteimprove Alfa), and the fifteen single tools. It sends nothing anywhere: there are no network requests at all, and removing the extension deletes everything it keeps. It keeps the person's recent scans in the browser (see Network and storage). It never shows, stores or copies what anyone has typed or chosen in a form. It has no content script, no host permissions, no remote code and no analytics. Its one background script, a service worker, exists only to open the panel when the button is pressed.
In Firefox the extension is the same, in Firefox's sidebar (Alt+Shift+A, because Alt+Shift+S opens Firefox's History menu). It asks for two permissions, activeTab and scripting: the sidebar needs no permission. Its one background script only opens the sidebar when the button is pressed. Its manifest declares that no data is collected (data_collection_permissions: none). It needs Firefox 140 or later.
Permissions
| Permission | Why it is needed | What it allows, and what it does not |
|---|---|---|
activeTab | To scan the tab the person is looking at, or run a tool on it, when they ask. | Access to the current tab only, only after the person presses the button, and only until that tab goes to another page. No access to other tabs, other windows or any site in the background. It also allows the panel to take a picture of the visible part of that tab, which is how element screenshots are made. |
scripting | To put the scan or the chosen tool into that tab. | Used with activeTab, so it reaches only the tab the person chose. The scripts it runs are files inside the extension package (the scan engines and the fifteen tool files), never code from the internet. |
sidePanel | To show the extension as a panel beside the page (Chrome and Edge only; Firefox's sidebar needs no permission). | Lets the extension open and fill its own panel beside the page. It gives no access to any page. |
A background script exists for one job: it opens the panel (Chrome and Edge, a service worker) or the sidebar (Firefox) when the toolbar button is pressed. Handling that click is what grants activeTab. It reads no pages and makes no requests.
It does not ask for: host permissions (<all_urls> or any site), tabs, storage, cookies, history, downloads, webRequest, clipboardRead, debugger, nativeMessaging or any optional permission. It has no content scripts and no web-accessible resources. Firefox's manifest declares that no data is collected (data_collection_permissions: none).
What it does on a page
- Reads: the page's structure (headings, landmarks, links, form labels, images, tables, colours, sizes and positions) to report what a screen reader would announce and what fails accessibility rules.
- Scans: when a person presses Scan this page, three engines bundled inside the package run in that tab. axe-core and IBM Equal Access run in the page. Siteimprove Alfa audits a snapshot of the page in a worker. The results appear in the panel and in a report. Before the engines run, the page is scrolled to the bottom and back so content that loads on scroll is included, and a window that is not maximized is widened by the panel's width so the page is scanned at its full width; both go back as they were, and both can be turned off in the panel's settings. Resizing the window uses the browser's
windowsAPI, which needs no permission. - Takes screenshots: with Screenshot each issue on, the page scrolls a screen at a time and the panel takes a picture of the visible tab for each flagged element, using
chrome.tabs.captureVisibleTabunder theactiveTabgrant. The pictures are cropped in the panel. The page is scrolled back to where it was. - Shows the report: Open results opens the report in an extension tab. The report is drawn inside a frame whose policy is
default-src 'none', so it can make no network request. Like every page of the extension, it runs only the extension's own script files: no inline script and no eval (the report uses Alpine.js's CSP build, packaged in the extension). Version 0.1.0 drew the report in a sandboxed frame that allowed eval; later versions do not. An issue's "Open in" button asks the results page to open that tool in the scanned tab and outline the element, under the sameactiveTabgrant; it works only while that tab still shows the scanned page. - Draws: a results panel and outlines on a separate layer inside a shadow root. It does not change the page's own layout, content or styles. Text Spacing is the one tool that applies a style while it is on, because that is the test (WCAG 1.4.12); it removes it when turned off.
- Turns off: choosing the same tool again removes everything it added and leaves the page as it was.
- Typed and chosen values: the tools never show, store or copy them. Text inside form fields, editable regions, select boxes and list boxes is left out of every name, row and copied result, including when a label or error message quotes it. The scan's stored element markup is the page's HTML as the engines report it.
Network and storage
- No network requests from the extension, its panel, its pages or any tool: no analytics, no error reporting, no update checks of its own. Browser store updates are handled by the browser in the usual way. A test proves it: the whole end-to-end run is repeated with only the local test server reachable, and it passes "nothing left this computer during the whole run".
- Scans are stored in the browser. The extension keeps the newest 50 scans in the extension's own IndexedDB (database
swa-scan), in this browser only. Each holds the page address, the page title and the issues with their element markup and selectors. Element screenshots are kept for the newest 10 scans. Settings (theme, show tool descriptions, screenshots on or off) are in the extension's localStorage. Nothing is ever sent anywhere. Removing the extension deletes all of it. There is no delete button in the panel yet. - Files: Download results and Download CSV save the scan's issues as a CSV file through a normal browser file download. The
downloadspermission is not used. - The one link: each tool's panel has a small "Swift A11y" link to the project's website, and copied results end with one line naming it. These are plain links. Nothing is sent unless a person clicks the link, and then it is an ordinary page visit in a new tab. The address carries only the tool's name and the form, for example
?from=headings-extension, never anything about the page being tested. The browser's normal referrer rules apply, which by default share only the domain the person came from. - Copy: the Copy buttons (a tool's results, or Copy as ticket for one issue as Markdown) write to the clipboard when a person presses them. Nothing is read from the clipboard.
Where it can and cannot run
It cannot run on browser pages (chrome://, edge://, about:), the browser's extension stores, or the built-in PDF viewer: browsers do not allow it, and the extension says so in a plain sentence. Local files need the browser's "Allow access to file URLs" switch, which is off by default.
The bookmarklets
The same fifteen tools are also offered as bookmarklets: a bookmark whose address is the tool itself. They follow the same rules: no network requests, nothing stored, nothing typed shown. A bookmarklet needs no installation and no permission, and runs only when the person clicks the bookmark. Sites with a strict Content Security Policy may refuse to run it; the extension is not affected by that.
How to check all of this
- The manifest:
manifest.jsonin the extension package lists the permissions above and nothing else. In the Chrome and Edge package it lists three:activeTab,scriptingandsidePanel. In the Firefox package it lists two:activeTabandscripting. - The source: the tools are TypeScript in
src/, the extension's own code is inextension/src/, and the panel's code (both browsers) is inextension/panel/src/. The panel also bundles 14 files from Swift A11y Scan (the engine mappers, merge and report, fromscan/src). Those 14 files are also released under the MIT licence (scan/LICENSE-MIT-SHARED.md), and the build stops if it bundles a Scan file that is not on that list. The extension stays MIT. - The built files: each package holds the panel, the bundled engines, the fifteen tool files, four icons and
THIRD-PARTY-NOTICES.txt, which lists every bundled component with its licence text (axe-core MPL-2.0, IBM Equal Access Apache-2.0, Siteimprove Alfa MIT, Alpine, Tailwind, and the MIT code of Swift A11y). The Firefox package is the same files with its own manifest and background script. Each tool file is one self-contained script. - The automated checks that run on every change include: the manifest permissions are exactly the ones above; there are no host permissions, content scripts or remote pages; the panel has the same fifteen tool files and the policies described above; no tool or popup file contains a network call (
fetch,XMLHttpRequest,WebSocket,sendBeacon), storage oreval; typed and chosen values never appear in a panel or in copied text; and each tool turns off leaving the page as it was. - The offline run:
npm run e2e:panel -- --offline(inextension/) drives the real panel in a real Chromium with only the local test server reachable. It passes only if nothing left the computer during the whole run. - By hand: open the browser's developer tools on the Network panel, run a scan or any tool, and see that no request is made.
Installing it for everyone
Each browser can install an extension for every user silently, and keep it updated, from the browser's own store. The policies below name the extension by its store ID. It is listed in the Chrome Web Store and on Firefox Add-ons; Edge installs it from the Chrome Web Store. This note is also published at swifta11y.com/for-it-teams, so nobody needs a code-hosting site to read it.
- Chrome and Edge ID:
mmljfjpcjjaeooiogoiinflnlklddook, from the Chrome Web Store listing. It is also shown atchrome://extensionsandedge://extensionsonce installed. - Firefox ID:
extension@swifta11y.com, thebrowser_specific_settings.gecko.idin the Firefoxmanifest.json. It never changes. The listing is Swift A11y on Firefox Add-ons, and its address name (slug) isswift-a11y.
After any change, open chrome://policy, edge://policy or about:policies on a test machine. The extension and its policy should be listed with status OK, and the toolbar button should be there without anyone installing anything.
Test on one machine, then a pilot group, before the whole company. Policy names are case sensitive.
Chrome
Policies and where they go (Chrome Enterprise policy list):
| Policy | Type | What it does |
|---|---|---|
ExtensionInstallForcelist | List of strings | Installs the extension silently and keeps it. Users cannot remove or disable it. Takes precedence over ExtensionInstallBlocklist. Each entry is the ID, optionally followed by ; and an update URL. With no update URL, the Chrome Web Store is used. |
ExtensionInstallAllowlist | List of strings | Exempts the listed IDs from ExtensionInstallBlocklist. Only needed if you block extensions in general (blocklist value *). It lets users install the extension; it does not install it. |
ExtensionSettings | Dictionary (JSON) | One policy that can do the same and more: install mode, toolbar pinning, blocked permissions. If it sets an extension, it overrides the two policies above for that extension. |
Windows, Group Policy (Active Directory): load Google's Chrome ADMX templates, then Computer Configuration, Administrative Templates, Google, Google Chrome, Extensions.
- "Configure the list of force-installed apps and extensions": Enabled, Show, one row per entry:
mmljfjpcjjaeooiogoiinflnlklddook;https://clients2.google.com/service/update2/crx - "Configure extension installation allow list" (only if you block by default): Enabled, Show, one row:
mmljfjpcjjaeooiogoiinflnlklddook
Windows, registry (same effect, for scripts or Intune custom settings), under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome:
- Key
ExtensionInstallForcelist, a value named1of typeREG_SZwith the datammljfjpcjjaeooiogoiinflnlklddook;https://clients2.google.com/service/update2/crx. Further extensions use2,3and so on. - Key
ExtensionInstallAllowlist, a value named1of typeREG_SZwith the datammljfjpcjjaeooiogoiinflnlklddook. - Or, for
ExtensionSettings, aREG_SZvalue namedExtensionSettingson theChromekey holding the JSON below on one line.
macOS, configuration profile (Jamf, Intune, Kandji and similar): a custom settings payload for the preference domain com.google.Chrome:
<key>ExtensionInstallForcelist</key>
<array>
<string>mmljfjpcjjaeooiogoiinflnlklddook;https://clients2.google.com/service/update2/crx</string>
</array>
The same payload can carry ExtensionInstallAllowlist (an array of IDs) or ExtensionSettings (a dictionary keyed by ID, with the fields below as strings).
Google Admin console (managed Chrome, cloud-managed):
- Sign in to the Admin console, then Devices, Chrome, Apps & extensions. With Chrome Browser Cloud Management it is Chrome browser, Apps & extensions.
- Choose Users & browsers, then the organisational unit (or a group) that should get it.
- Add the extension by its ID from the Chrome Web Store. (Add by ID is the yellow plus button at the bottom right. This step was not re-read from Google's page for this note; check it on screen.)
- Click the extension, and under Installation policy choose Force install. Click Save. (To pin it to the toolbar, use the Pin to browser toolbar choice, which writes
toolbar_pinbelow.) - To undo an override later, click Inherit.
ExtensionSettings (the modern, single policy), for Chrome:
{
"mmljfjpcjjaeooiogoiinflnlklddook": {
"installation_mode": "force_installed",
"update_url": "https://clients2.google.com/service/update2/crx",
"toolbar_pin": "force_pinned"
}
}
installation_mode is allowed (default), blocked, force_installed (installed, cannot be removed), normal_installed (installed, user may disable) or removed. The two install modes need update_url, and cannot be set on the * entry. toolbar_pin is default_unpinned (default), default_pinned or force_pinned. Use normal_installed and default_pinned if people should be able to switch it off.
Microsoft Edge
Edge uses the same policy names, set under Edge's own paths (Microsoft Edge policy documentation).
| Policy | Edge's caption |
|---|---|
ExtensionInstallForcelist | Control which extensions are installed silently |
ExtensionInstallAllowlist | Allow specific extensions to be installed |
ExtensionSettings | Configure extension management settings |
- Group Policy: load the Microsoft Edge ADMX templates. Administrative Templates, Microsoft Edge, Extensions, "Control which extensions are installed silently": Enabled, Show, one row per entry:
mmljfjpcjjaeooiogoiinflnlklddook;https://clients2.google.com/service/update2/crx. For the allow list the setting is "Allow specific extensions to be installed", and each row ismmljfjpcjjaeooiogoiinflnlklddook. Microsoft's note: the entry form isextension_id;update_url, and for an extension in the Chrome Web Store the update URL ishttps://clients2.google.com/service/update2/crx. - Registry: under
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge, a key per policy (ExtensionInstallForcelist,ExtensionInstallAllowlist) with numberedREG_SZvalues1,2, and so on, as for Chrome.ExtensionSettingsis oneREG_SZvalue holding the JSON on one line.HKEY_CURRENT_USERcan be used in place ofHKEY_LOCAL_MACHINE. The base key is stated in Microsoft's ExtensionSettings guide; the numbered-value layout for the two list policies is the standard Chromium layout and was not restated on the pages read. - macOS: a configuration profile (or
.plist) for the preference domaincom.microsoft.Edge, using the same policy names. Microsoft documents the steps for a plain.plistand for Jamf. The domain name was not restated on the pages read; check it against Microsoft's "Configure Microsoft Edge on macOS" page. - Edge management service / Intune: the same policies, set from the Microsoft 365 admin center or Intune's settings catalog.
ExtensionSettings for Edge, installing from the Chrome Web Store:
{
"mmljfjpcjjaeooiogoiinflnlklddook": {
"installation_mode": "force_installed",
"update_url": "https://clients2.google.com/service/update2/crx",
"toolbar_state": "force_shown"
}
}
Edge's installation_mode values are allowed, blocked, force_installed, normal_installed and removed. toolbar_state (Edge 103 and later) is default_hidden, default_shown or force_shown. Microsoft says a force-installed extension cannot be disabled or removed by the user, and overrides any blocklist.
Installing in Edge, one person at a time: Swift A11y is not on the Microsoft Edge Add-ons website. Open the Chrome Web Store listing in Edge, allow extensions from other stores when Edge asks, then choose Add to Chrome. Pin it from the puzzle-piece menu next to the address bar. If your Edge policy blocks the Chrome Web Store, allow the ID above with ExtensionInstallAllowlist.
Firefox
Firefox calls these enterprise policies (Mozilla's policy reference). Two policies can install an add-on: Extensions (older, with Install, Uninstall and Locked lists) and ExtensionSettings. Mozilla recommends ExtensionSettings.
policies.json (any platform). The file holds { "policies": { ... } }. Put it in a distribution folder:
- Windows:
distribution\policies.jsonin the folder that holdsfirefox.exe. - macOS:
Firefox.app/Contents/Resources/distribution/policies.json. - Linux:
distribution/policies.jsonin the Firefox installation folder, or/etc/firefox/policies/policies.json.
{
"policies": {
"ExtensionSettings": {
"extension@swifta11y.com": {
"installation_mode": "force_installed",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/swift-a11y/latest.xpi"
}
}
}
}
installation_mode:allowed(default),blocked,force_installed(cannot be removed) ornormal_installed(users may disable it). The two install modes needinstall_url, unless the add-on is on addons.mozilla.org (Mozilla's page makesinstall_urloptional for those from Firefox 153).swift-a11yis the last part of the listing's address on addons.mozilla.org.default_area:navbarputs the button on the toolbar,menupanelin the menu (Firefox 113 and later).private_browsing:trueallows it in private windows (Firefox 136 and later).- The
*entry may only beallowedorblocked. To block everything else, set"*": { "installation_mode": "blocked" }and add one entry per approved add-on. - The older form is
"Extensions": { "Install": ["<url>"], "Locked": ["extension@swifta11y.com"] }. It takes the same file.
Windows Group Policy: load Mozilla's firefox.admx and firefox.adml from the policy-templates repository. ExtensionSettings is stored as a multi-line string value ExtensionSettings under HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox, holding the JSON above without the outer policies key.
macOS: a configuration profile with an ExtensionSettings key holding a dictionary, an entry per ID, and installation_mode and install_url as strings. Mozilla publishes the profile template with the policy-templates.
Linux: policies.json as above; there are no registry or profile options.
Firefox shows the policies at about:policies. The first run installs the add-on when the browser starts and can reach install_url. The add-on's strict_min_version is Firefox 140.
What was not confirmed
- The Google Admin console step "Add by ID", the Edge macOS preference domain and the numbered registry layout for the list policies were not restated on the pages read. Each is marked above; check it on a test machine with
chrome://policy,edge://policyorabout:policies. - The vendors change these pages. Dates read: 14 October 2026, and Microsoft's extension policy page again on 26 October 2026.
Sources
- Chrome
ExtensionInstallForcelist(title "Configure the list of force-installed apps and extensions"; format, type and precedence from the policy definition in the Chromium source,components/policy/resources/templates/policy_definitions/Extensions/ExtensionInstallForcelist.yaml) - Chrome
ExtensionInstallAllowlist(andExtensionInstallAllowlist.yamlin the same folder of the Chromium source) - Chrome
ExtensionSettingsand support.google.com/chrome/a/answer/9867568 - Force-install in the Admin console
- Edge, force-install, allow and block
- Edge,
ExtensionSettingsfields, update URL and registry base key - Edge, policy names
- Edge, extension management overview
- Firefox
ExtensionSettings - Firefox
Extensions - Firefox policy files and templates and firefox-admin-docs.mozilla.org/guides/getting-started
Reporting a concern
Report a security or privacy problem through the support page of the project's website, swifta11y.com/support, which says how to do it privately. Nothing a reviewer needs is kept only on a code-hosting site.
Changes to this note
This note is updated in the same change as anything that alters a permission or adds a script.