{"id":21372671,"url":"https://github.com/torres-developer/postcss-accessibility","last_synced_at":"2025-03-16T08:44:58.297Z","repository":{"id":152943718,"uuid":"525582971","full_name":"torres-developer/postcss-accessibility","owner":"torres-developer","description":"PostCSS plugin that helps with the web accessibility guidelines","archived":false,"fork":false,"pushed_at":"2022-08-19T20:55:58.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T21:14:45.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/torres-developer.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":"2022-08-17T00:17:17.000Z","updated_at":"2022-08-17T00:50:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"dcbb9716-ad03-4089-b836-4be524f73454","html_url":"https://github.com/torres-developer/postcss-accessibility","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torres-developer%2Fpostcss-accessibility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torres-developer%2Fpostcss-accessibility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torres-developer%2Fpostcss-accessibility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torres-developer%2Fpostcss-accessibility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/torres-developer","download_url":"https://codeload.github.com/torres-developer/postcss-accessibility/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243846975,"owners_count":20357297,"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":[],"created_at":"2024-11-22T08:22:04.856Z","updated_at":"2025-03-16T08:44:58.269Z","avatar_url":"https://github.com/torres-developer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-accessibility\n\n[PostCSS] plugin that helps with the web accessibility guidelines.\n\n[PostCSS]: https://github.com/postcss/postcss\n\n```css\np {\n    background-color: hsl(192 62% 94%);\n    color: a11y-txt(hsl(192 62% 94%), 1.75em, 400);\n    font-size: 1.75em;\n}\n```\n\n```css\np {\n    background-color: hsl(192 62% 94%);\n    color: hsl(192.63157894736838 61.290322580645174% 17%);\n    font-size: 1.75em;\n}\n```\n\n## Usage\n\n**Step 1:** Install plugin:\n\n```sh\nnpm install --save-dev postcss postcss-accessibility\n```\n\n**Step 2:** Check you project for existed PostCSS config: `postcss.config.js`\nin the project root, `\"postcss\"` section in `package.json`\nor `postcss` in bundle config.\n\nIf you do not use PostCSS, add it according to [official docs]\nand set this plugin in settings.\n\n**Step 3:** Add the plugin to plugins list:\n\n```diff\nmodule.exports = {\n  plugins: [\n+   require('postcss-accessibility'),\n    require('autoprefixer')\n  ]\n}\n```\n\n[official docs]: https://github.com/postcss/postcss#usage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorres-developer%2Fpostcss-accessibility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorres-developer%2Fpostcss-accessibility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorres-developer%2Fpostcss-accessibility/lists"}