{"id":22567830,"url":"https://github.com/mrwweb/accessibility-addon-for-facetwp","last_synced_at":"2025-10-13T06:16:11.958Z","repository":{"id":263511946,"uuid":"887567499","full_name":"mrwweb/accessibility-addon-for-facetwp","owner":"mrwweb","description":"Filters the output of FacetWP facets to use real inputs and labels, along with other accessibility supports. Does not fully support all facets.","archived":false,"fork":false,"pushed_at":"2024-11-18T23:33:26.000Z","size":3,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T16:47:45.038Z","etag":null,"topics":["accessibility","facetwp","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrwweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":"mrwweb"}},"created_at":"2024-11-12T22:38:51.000Z","updated_at":"2025-02-24T10:06:05.000Z","dependencies_parsed_at":"2024-11-19T00:31:56.327Z","dependency_job_id":"f8ee7dc3-cf49-4dee-92b2-cd92c898b431","html_url":"https://github.com/mrwweb/accessibility-addon-for-facetwp","commit_stats":null,"previous_names":["mrwweb/accessibility-addon-for-facetwp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrwweb/accessibility-addon-for-facetwp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrwweb%2Faccessibility-addon-for-facetwp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrwweb%2Faccessibility-addon-for-facetwp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrwweb%2Faccessibility-addon-for-facetwp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrwweb%2Faccessibility-addon-for-facetwp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrwweb","download_url":"https://codeload.github.com/mrwweb/accessibility-addon-for-facetwp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrwweb%2Faccessibility-addon-for-facetwp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013955,"owners_count":26085429,"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-10-13T02:00:06.723Z","response_time":61,"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":["accessibility","facetwp","wordpress","wordpress-plugin"],"created_at":"2024-12-08T00:09:21.425Z","updated_at":"2025-10-13T06:16:11.932Z","avatar_url":"https://github.com/mrwweb.png","language":"PHP","funding_links":["https://github.com/sponsors/mrwweb"],"categories":[],"sub_categories":[],"readme":"# Accessible FacetWP with real inputs and labels\n\nMark Root-Wiley, [MRW Web Design](https://MRWweb.com)\n\nThis plugin replaces many of the basic facets in FacetWP with fully-accessible HTML inputs and labels. This leads to better accessibility and easier styling. It's unlikely it will ever have full-coverage of facets, but it's a great potential choice if you are only using simple facets like search and a flat list of checkboxes.\n\n## Unaffiliated with FacetWP\n\nThis plugin is not affiliated with the FacetWP plugin in any way. FacetWP is a great plugin, and hopefully this makes it even better!\n\n## An alternative to the FacetWP \"a11y support\"\n\nThis plugin is an alternative to the FacetWP \"a11y support\" feature / `facetwp_load_a11y` filter and they should not be used together. It should prevent a11y support script from loading when activated.\n\n## Currently Supported Facets\n\n### Taxonomy / Checkboxes (Partial facet support)\n\n- Uses `\u003cinput type=\"checkbox\"\u003e` and `\u003clabel\u003e` with associated `id`/`for` attributes\n- Wraps the list of checkboxes in a `\u003cfieldset\u003e` with a `\u003clegend\u003e` for the facet title\n- Limitations:\n  - Works for a \"flat\" list of checkboxes without expand/collapse or hierarchical nesting\n  - Doesn't support ghost facets (I think?)\n\n### Search\n\n- Wraps field in `\u003csearch\u003e` element\n- Labels the field\n- Removes `\u003ci\u003e` element for search button and replaces with a real `\u003cbutton\u003e`.\n  - The button's text is wrapped in a span in case you want to accessibly hide the text and show an icon with a pseudo-element. We could potentially add an action/filter to make this more configurable in the future.\n\n### Pager\n\n- Wraps pager in a `\u003cnav\u003e` element labeled by an associated `\u003ch3\u003e` heading\n  - Heading level assumes the Facet Results are labeled by an `\u003ch2\u003e`\n- Converts consecutive link elements into an unordered list of links\n- Adds tabindex to valid links to enable keyboard navigation\n\n### Sort\n\n- Adds `\u003clabel\u003e` with appropriate `for` and `id` attributes to the select element\n\n## Roadmap / Ideas / Known Issues\n\n- Is it possible to render `aria-live=\"polite\"` around the results count? (Markup must be in page source on load to work with all screen readers)\n- Adjust radio buttons to match checkbox markup\n- Add _basic_ support for \"Select\" facets similar to existing \"Sort\" facet fix\n- Make hard-coded labels and headings filterable\n- Add an index or other unique key to ensure added `for`/`id` attributes are unique when a facet is added to the page more than once\n- Add support for ghost facets (probably with some use of `disabled` but [beware of the drawbacks](https://adrianroselli.com/2024/02/dont-disable-form-controls.html))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrwweb%2Faccessibility-addon-for-facetwp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrwweb%2Faccessibility-addon-for-facetwp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrwweb%2Faccessibility-addon-for-facetwp/lists"}