{"id":14421661,"url":"https://github.com/verto-health/astral-accessibility","last_synced_at":"2025-06-19T04:06:36.428Z","repository":{"id":72280687,"uuid":"567402170","full_name":"verto-health/astral-accessibility","owner":"verto-health","description":"An open-source accessibility widget written in Angular","archived":false,"fork":false,"pushed_at":"2024-09-11T20:46:24.000Z","size":3276,"stargazers_count":18,"open_issues_count":11,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-09-12T06:11:01.342Z","etag":null,"topics":["a11y","accessibility","angular"],"latest_commit_sha":null,"homepage":"https://astral-accessibility.pages.dev","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/verto-health.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-11-17T18:00:53.000Z","updated_at":"2024-08-19T07:06:31.000Z","dependencies_parsed_at":"2024-01-23T18:52:45.852Z","dependency_job_id":"308f8cac-2efd-412d-821e-c8a5719922bb","html_url":"https://github.com/verto-health/astral-accessibility","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verto-health%2Fastral-accessibility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verto-health%2Fastral-accessibility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verto-health%2Fastral-accessibility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verto-health%2Fastral-accessibility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/verto-health","download_url":"https://codeload.github.com/verto-health/astral-accessibility/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226010487,"owners_count":17559367,"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","angular"],"created_at":"2024-08-29T23:00:21.942Z","updated_at":"2024-11-23T06:23:13.879Z","avatar_url":"https://github.com/verto-health.png","language":"TypeScript","funding_links":[],"categories":["Development Utilities"],"sub_categories":["Accessibility"],"readme":"# Astral Accessibility: Open Source Accessibility Widget\n\n![Astral Accessibility](docs/astral.png)\n\n# Astral is in alpha\n\nAstral is currently in an alpha phase. You can use it today with much of its feature set implemented, but it's a few features shy, along with some general polishing away from a 1.x release.\n\n# Overview\n\nAstral Accessibility is an open source accessibility widget that can be easily embedded to any website. It provides a set of\naccessibility features that can be used by people with accessibility needs to improve their experience on the web. Read why we\nstarted this project [here](https://blue.verto.health/advancing-accessibility-with-astral/).\n\n[Click here](https://astral-accessibility.pages.dev/) for a demo!\n\n## Features\n\n- Screen Reader (text to speech)\n- Contrast\n- Saturation\n- Text Size\n- Text Spacing\n- Screen Mask\n- Line Height\n- More to come!\n\n| Key             | Capability                                                                                                                                                                                                                                                                                                 |\n| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `Screen Reader` | Screen reader is a tool where it would reads out texts on screen where user clicks on. For any html elements, if an aria label is available, the content from aria label would be read out loud, otherwise, it reads the text content of the element. There are 3 different speeds, normal, fast and slow. |\n| `Contrast`      | Contrast is a tool that removes background and replaces it with black or white to increase the difference in colours between text and the background to increase legibility. There are 3 modes, the invert colours, high contrast, and dark high contrast.                                                 |\n| `Saturation`    | Saturation is a tool that adjusts how colourful the colours are on screen, it has 3 different modes to lower saturation, increase saturation, or remove all the colours on screen (black and white).                                                                                                       |\n| `Bigger Text`   | Bigger Text is a tool that increases the size of the texts on screen.                                                                                                                                                                                                                                      |\n| `Text Spacing`  | Text Spacing is a tool that increases the spacing between each character on the screen to increase legibility and readibility.                                                                                                                                                                             |\n| `Screen Mask`   | Screen Mask is a tool which dims the background and has a smaller focused area which follows the cursor sliding up and down the page.                                                                                                                                                                      |\n| `Line Spacing`  | Line Spacing is a tool which increases the space between lines for greater readability.                                                                                                                                                                                                                    |\n\n## Usage\n\nAstral is built with Angular Elements. You can use it in your website in under 30 seconds. To add it, simply include the Javascript and initialize it:\n\nNote: By default this function all will add all available features, for enabling only certain features, see the section below on Customizing Widget.\n\n```html\n\u003cscript src=\"https://astral-accessibility.pages.dev/main.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n  initializeAstral();\n\u003c/script\u003e\n```\n\n## Customizing Widget\n\nAstral-Accessibility allows you to customize the widget to your needs. This mean you can enable the features you want and hide the features you may not need.\nYou can choose which widgets should appear by passing an object inside of the `inititalizeAstral` function call. Inside the object include a key called `enabledFeatures` with the value of a list containing strings of which features you want enabled.\n\nHere's an example:\n\n```html\n\u003cscript\u003e\n  initializeAstral({\n    filterWidget: [\"Contrast\", \"Bigger Text\", \"Screen Mask\"],\n  });\n\u003c/script\u003e\n```\n\nOptionally we can choose which widgets should appear by passing an object inside of function call:\n\n```html\n\u003cscript\u003e\n  initializeAstral({\n    enabledFeatures: [\n      \"Screen Reader\",\n      \"Contrast\",\n      \"Saturation\",\n      \"Bigger Text\",\n      \"Text Spacing\",\n      \"Screen Mask\",\n      \"Line Height\",\n    ],\n  });\n\u003c/script\u003e\n```\n\n## Development Setup\n\n1. Clone the repository\n\n```\ngit clone git@github.com:verto-health/astral-accessibility.git\n```\n\n2. Install dependencies\n\n```\n$ yarn install\n```\n\n3. Run the development server and visit `http://localhost:8000`\n\n```bash\n$ yarn run start:demo\n```\n\nThis will watch for changes and automatically reload when you make changes in both Angular and the demo app under `projects/demo`.\n\n### Running E2E Tests With Cypress\n\nAfter running the steps above, you will have access to the Cypress test suite. To run Cypress locally, run the following command in your terminal\n\n```\n$ yarn cypress open\n```\n\nChoose E2E Testing, and select a browser to start running the Specs\n\n## Contributors ✨\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverto-health%2Fastral-accessibility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverto-health%2Fastral-accessibility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverto-health%2Fastral-accessibility/lists"}