The Accessibility Highlighter is a Chrome extension that helps identify accessibility problems on websites by providing visual highlighting and console logging of issues. This guide provides instructions for installing the extension in different ways.
- Download the latest release zip file (
a11y-highlighter.zip
) from the releases page - Extract the zip file to a folder on your computer
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" by toggling the switch in the top-right corner
- Click the "Load unpacked" button
- Browse to the folder where you extracted the zip file and select it
- The extension should now be installed and visible in your Chrome toolbar
If you want to install directly from the source code:
-
Clone the repository:
git clone https://github.com/AFixt/a11y-highlighter.git cd a11y-highlighter
-
Install dependencies:
npm install
-
Build the extension:
npm run build
-
Open Chrome and navigate to
chrome://extensions/
-
Enable "Developer mode" by toggling the switch in the top-right corner
-
Click the "Load unpacked" button
-
Browse to the
dist
folder in the project directory and select it -
The extension should now be installed and visible in your Chrome toolbar
Once installed, the extension can be toggled on and off by clicking its icon in the Chrome toolbar:
- When enabled (colored icon): Accessibility issues will be highlighted on the page with red or orange overlays, and details will be logged to the console
- When disabled (gray icon): No highlighting or logging will occur
If the extension doesn't appear to be working:
- Make sure it's enabled by checking for the colored icon
- Try refreshing the page after enabling the extension
- Check the browser console (F12 > Console) for any error messages
- Ensure you have the necessary permissions for the website you're testing
To update the extension when a new version is released:
- Download the latest zip file or pull the latest code
- Go to
chrome://extensions/
- Find the Accessibility Highlighter and click "Remove"
- Follow the installation steps above to install the new version
If you encounter any issues or have questions, please file an issue on the GitHub repository.