{"id":26793115,"url":"https://github.com/beapi/be-a11y","last_synced_at":"2025-04-22T15:12:17.204Z","repository":{"id":37022082,"uuid":"361256857","full_name":"BeAPI/be-a11y","owner":"BeAPI","description":"Be a11y is a collection of useful accessible components such as tabs, accordion, modal dialog...","archived":false,"fork":false,"pushed_at":"2025-03-07T13:31:23.000Z","size":1190,"stargazers_count":5,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-22T15:11:59.990Z","etag":null,"topics":["a11y","accessibility","accordion","components","js","megamenu","modal","slider","tabs","video"],"latest_commit_sha":null,"homepage":"https://beapi.fr/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BeAPI.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-04-24T20:11:40.000Z","updated_at":"2024-12-17T13:21:13.000Z","dependencies_parsed_at":"2024-01-03T22:28:18.486Z","dependency_job_id":"0f8bde4d-88ed-413e-ac8c-a1ca8baf6259","html_url":"https://github.com/BeAPI/be-a11y","commit_stats":{"total_commits":208,"total_committers":5,"mean_commits":41.6,"dds":0.08653846153846156,"last_synced_commit":"87b5ce2d509a06c823a526647b5bf051e28350de"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fbe-a11y","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fbe-a11y/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fbe-a11y/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fbe-a11y/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BeAPI","download_url":"https://codeload.github.com/BeAPI/be-a11y/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250264909,"owners_count":21402004,"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","accessibility","accordion","components","js","megamenu","modal","slider","tabs","video"],"created_at":"2025-03-29T16:19:10.813Z","updated_at":"2025-04-22T15:12:17.182Z","avatar_url":"https://github.com/BeAPI.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Be API Github Banner](.github/banner-github.png)](https://beapi.fr)\n\n# Be a11y\n\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/BeAPI/be-a11y/graphs/commit-activity)\n\nThis repository contains a collection of useful accessible components such as tabs, accordion, modal dialog...\n\n## Installation\n\nStart by installing the package.\n\n```bash\npnpm add @beapi/be-a11y # or npm install @beapi/be-a11y --save or yarn add @beapi/be-a11y\n```\n\nThen, import in your JavaScript file the component you need.\n\n```js\nimport { Accordion } from '@beapi/be-a11y';\n\nAccordion.init('#my-accordion', {\n    allowMultiple: true,\n});\n```\n\nFor more details about components, check the documentations:\n\n* [Accordion](examples/accessible-accordion/)\n* [Dropdown](examples/accessible-dropdown/)\n* [Modal](examples/accessible-modal/)\n* [Slider](examples/accessible-slider/)\n* [Tabs](examples/accessible-tabs/)\n* [Toggle](examples/accessible-toggle/)\n\n## Want to contribute?\n\nProject works with [Vite ⚡](https://vitejs.dev/) and [Playwright 🎭](https://playwright.dev/).\n\n### Development\n\n```bash\npnpm # Install dependencies\n\npnpm dev # Start development server\n```\n\n### Build\n\nIn `examples` directory you can find sample of components. First of all you have to build the JS with the following command.\n\n```bash\npnpm build\n```\n\nThen, you can launch a local server.\n\n```bash\npnpm preview\n```\n\n### Test your code\n\nYou can run UI tests with the following command.\n\n```bash\npnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeapi%2Fbe-a11y","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeapi%2Fbe-a11y","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeapi%2Fbe-a11y/lists"}