{"id":15631292,"url":"https://github.com/raunofreiberg/axe-mode","last_synced_at":"2025-08-29T01:31:15.216Z","repository":{"id":37409381,"uuid":"259726885","full_name":"raunofreiberg/axe-mode","owner":"raunofreiberg","description":"Accessibility testing visualized","archived":false,"fork":false,"pushed_at":"2023-01-07T17:37:32.000Z","size":3614,"stargazers_count":198,"open_issues_count":30,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T05:03:14.223Z","etag":null,"topics":["a11y","accessibility","axe","testing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/raunofreiberg.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}},"created_at":"2020-04-28T19:04:40.000Z","updated_at":"2025-03-30T19:55:51.000Z","dependencies_parsed_at":"2023-02-07T18:32:01.046Z","dependency_job_id":null,"html_url":"https://github.com/raunofreiberg/axe-mode","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/raunofreiberg/axe-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunofreiberg%2Faxe-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunofreiberg%2Faxe-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunofreiberg%2Faxe-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunofreiberg%2Faxe-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raunofreiberg","download_url":"https://codeload.github.com/raunofreiberg/axe-mode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunofreiberg%2Faxe-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272600231,"owners_count":24962584,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","accessibility","axe","testing"],"created_at":"2024-10-03T10:39:50.148Z","updated_at":"2025-08-29T01:31:14.882Z","avatar_url":"https://github.com/raunofreiberg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# axe-mode\n\n![npm](https://img.shields.io/npm/v/axe-mode?color=%236469FF)\n\n\u003e WIP\n\nThis project is an attempt to leverage [`axe-core`](https://github.com/dequelabs/axe-core) in a component to find accessibility violations and provide information on how to resolve them.\n\nCurrently, this only works for React.\n\n[See it in action on CodeSandbox.](https://codesandbox.io/s/youthful-pare-oxtcc)\n\n![Demo](https://i.gyazo.com/2eeb2f0bacbabfbe706932c545ec682c.gif)\n\n\n## Usage\n\nInstall the library:\n\n```bash\nyarn add axe-mode -D\n```\n\nor\n\n```bash\nnpm install axe-mode --save-dev\n```\n\nImport the component and wrap it around your application or any other component tree you would like to validate:\n\n```tsx\nimport AxeMode from 'axe-mode';\n\nfunction App() {\n  return (\n    \u003cAxeMode disabled={process.env.NODE_ENV !== 'development'}\u003e\n      \u003ch1 aria-expanded=\"123\"\u003eHello world!\u003c/h1\u003e\n    \u003c/AxeMode\u003e\n  );\n}\n```\n\nLaunch your application as usual. Any violations of accessibility will show up as an overlay. If you wish to interact with your application, overlays can be toggled on/off with \u003ckbd\u003eCtrl + I\u003c/kbd\u003e.\n\nYou can safely leave the component around your application since [this whole library and its dependencies will be dropped in production.](https://github.com/raunofreiberg/axe-mode/blob/master/src/index.tsx#L7)\n\n**Note**: Make sure to only run in production by using the `disabled` prop with your environment variable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraunofreiberg%2Faxe-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraunofreiberg%2Faxe-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraunofreiberg%2Faxe-mode/lists"}