https://github.com/mokshit06/a11y-tech-syndicate
Not just an accessibility testing engine
https://github.com/mokshit06/a11y-tech-syndicate
accessibility alt-text chrome-extension live-caption preact
Last synced: 2 months ago
JSON representation
Not just an accessibility testing engine
- Host: GitHub
- URL: https://github.com/mokshit06/a11y-tech-syndicate
- Owner: Mokshit06
- Created: 2021-07-15T05:15:17.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-28T11:28:47.000Z (almost 4 years ago)
- Last Synced: 2025-01-29T17:11:23.992Z (4 months ago)
- Topics: accessibility, alt-text, chrome-extension, live-caption, preact
- Language: TypeScript
- Homepage:
- Size: 827 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# a11y
## Requirements
- ffmpeg
- node
- yarn
- chrome## Setup
1. Install the dependencies.
```bash
yarn install
```2. Copy `.env.example` files to `.env`.
```bash
cp packages/extension/.env.local packages/extension/.env
cp packages/server/.env.local packages/server/.env
```3. Create google service account and add Speech-to-Text and Vision API to the libaries.
4. Add the path of the `private_key`, `client_email` and `client_id` from the json file downloaded in `packages/server/.env`
```bash
GOOGLE_PRIVATE_KEY="..."
GOOGLE_CLIENT_EMAIL="..."
GOOGLE_CLIENT_ID="..."
```5. Create database and run migrations.
```bash
yarn prisma migrate dev
```6. Open `chrome://extensions` in your browser and turn on `Developer Mode`.
7. Click on the `Load unpacked` button, navigate to the `packages/extension` directory and open it.
8. Start extension and server in dev mode. This will start esbuild and nodemon in watch mode.
```bash
yarn dev
```9. Open any website and click `ctrl` + `shift` + `i`. There should be a new panel called `a11y`. Click `Start` to run the
the accessibility suite and show the stats.10. To see the accessibility stats of a specific element, open the `Elements` tab, click on the element and from the sidebar panes, select `a11y`.
### Info
The server trims the audios and videos to max 10s and has a limit of generating alt text for 30 images.
These can be disabled but are there so as to prevent accidental processing of large files and additional billing.