{"id":27790823,"url":"https://github.com/rmarchet/accessibility-tester","last_synced_at":"2026-04-19T14:37:13.183Z","repository":{"id":286464681,"uuid":"961480052","full_name":"rmarchet/accessibility-tester","owner":"rmarchet","description":"Node.JS API to checks a HTML for a11y issues","archived":false,"fork":false,"pushed_at":"2025-04-29T10:03:47.000Z","size":265,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-29T11:22:30.777Z","etag":null,"topics":["a11y","a11y-testing","accessibility","axe-core","node-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rmarchet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-06T15:59:27.000Z","updated_at":"2025-04-29T10:05:28.000Z","dependencies_parsed_at":"2025-04-06T17:23:04.614Z","dependency_job_id":"49c36f11-fef6-46f0-b48c-03300346c56d","html_url":"https://github.com/rmarchet/accessibility-tester","commit_stats":null,"previous_names":["rmarchet/accessibility-tester"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmarchet%2Faccessibility-tester","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmarchet%2Faccessibility-tester/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmarchet%2Faccessibility-tester/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmarchet%2Faccessibility-tester/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmarchet","download_url":"https://codeload.github.com/rmarchet/accessibility-tester/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251765242,"owners_count":21640152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["a11y","a11y-testing","accessibility","axe-core","node-js"],"created_at":"2025-04-30T18:45:49.674Z","updated_at":"2026-04-19T14:37:08.131Z","avatar_url":"https://github.com/rmarchet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Accessibility Tester\n\nA modern web application for testing website accessibility using axe-core, built with a React frontend and Node.js backend.\n\n## Project Structure\n\nThis project uses a monorepo structure with Yarn workspaces:\n\n```\naccessibility-tester/\n├── package.json              # Root package.json with workspace configuration\n├── src/\n│   ├── server/               # Backend API (Node.js + Express)\n│   │   ├── package.json\n│   │   ├── app.js\n│   │   ├── controllers/\n│   │   ├── routes/\n│   │   ├── services/\n│   │   └── __tests__/\n│   └── frontend/             # Frontend app (React + Vite)\n│       ├── package.json\n│       ├── vite.config.js\n│       ├── index.html\n│       └── src/\n│           ├── main.jsx\n│           ├── App.jsx\n│           ├── App.css\n│           └── index.css\n└── README.md\n```\n\n## Prerequisites\n\n- Node.js \u003e=20.0.0\n- Yarn package manager\n\n## Installation\n\nInstall all dependencies for both frontend and backend:\n\n```bash\nyarn install\n```\n\n## Development\n\n### Start both frontend and backend in development mode:\n```bash\nyarn dev\n```\n\nThis will start:\n- Backend server on `http://localhost:5000`\n- Frontend development server on `http://localhost:3000`\n\n### Start individual services:\n\n**Backend only:**\n```bash\nyarn server:dev\n```\n\n**Frontend only:**\n```bash\nyarn frontend:dev\n```\n\n## Building for Production\n\n### Build both frontend and backend:\n```bash\nyarn build\n```\n\n### Build individual services:\n\n**Backend:**\n```bash\nyarn server:build\n```\n\n**Frontend:**\n```bash\nyarn frontend:build\n```\n\n## Testing\n\nRun tests for all workspaces:\n```bash\nyarn test\n```\n\nRun tests in watch mode:\n```bash\nyarn test:watch\n```\n\n## API Endpoints\n\n### POST /api/test\nTest a website for accessibility issues.\n\n**Request Body:**\n```json\n{\n  \"url\": \"https://example.com\"\n}\n```\n\n**Response:**\n```json\n{\n  \"violations\": [...],\n  \"passes\": [...],\n  \"incomplete\": [...],\n  \"inapplicable\": [...]\n}\n```\n\n## Architecture\n\n### Frontend (React + Vite)\n- **React 18**: Modern React with hooks\n- **Vite**: Fast build tool and development server\n- **Axios**: HTTP client for API calls\n- **Modern CSS**: Responsive design with dark/light mode support\n\n### Backend (Node.js + Express)\n- **Express**: Web framework\n- **axe-core**: Accessibility testing engine\n- **JSDOM**: DOM implementation for server-side testing\n- **Canvas**: HTML5 Canvas API for headless rendering\n- **CORS**: Cross-origin resource sharing\n\n### Key Features\n- **Monorepo**: Single repository with multiple packages\n- **Workspace Management**: Yarn workspaces for dependency management\n- **Development Proxy**: Frontend proxies API calls to backend during development\n- **Modern Tooling**: Babel, ESLint, Vite, and Jest\n- **Accessibility Testing**: Comprehensive accessibility analysis using axe-core\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmarchet%2Faccessibility-tester","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmarchet%2Faccessibility-tester","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmarchet%2Faccessibility-tester/lists"}