This Alfred Workflow allows you to search through Web Content Accessibility Guidelines (WCAG) Success Criterion (SC), and then copy a link to the selected SC to your clipboard or open its Understanding page in your default browser.
The Workflow uses WCAG 2.2, which is the current W3C Recommendation at the time of this Workflow's last published update.
Requires Alfred and the Alfred Powerpack.
- Download the latest release from this repo.
- Open the
wcag.alfredworkflow
file wherever your browser saves downloaded files. - Activate the "Install" button on the import prompt displayed after opening the
.workflow
file.
- Type
wcag
, the Workflow filter keyword, and then Space. - Begin typing either the SC's number (ex:
2.5.3
) or its title (ex:label in name
). The Workflow's results will update as you refine your query. - Take action on a result by highlighting it in the Alfred command palette results and using one of the following interactions:
- Enter/click: Copy the SC's number, name, and link to its Understanding page as a HTML link.
- Option + Enter: Copy the SC's Understanding page URL to the clipboard.
- Command + Enter: Open the SC's Understanding page URL in the default browser.
Submit an issue to the GitHub issue tracker using the bug report issue template.
Submit an issue to the GitHub issue tracker using the feature suggestion issue template.
-
Figuring out why the SC's title (ex:Label in Name
) is not part of the fuzzy match if a number is not included. -
Opening the base WCAG 2.1 URL when no filter keyword is entered and Enter is pressed. -
Logic for showing a custom icon for each of the four POUR categories (Perceivable, Operable, Understandable, Robust).
I mainly use this Workflow for my job, and do not have the resources to provide full-blown community support. Hopefully the Workflow in its current form is helpful to you if you find yourself needing something like this.
Migrating from Quicksilver to Alfred was enough work on its own. I'm not really interested in uprooting things again for another quick launcher.
I am hoping to be either retired or dead by the time WCAG 3.0 is published, but will otherwise support WCAG updates.
Thank you to Wayne Elgin for his help with how JavaScript and Alfred Workflow syntax intersect.
Keyboard-Maestro-Web-Dev-Macros, by Ian Lloyd
This Workflow is licensed using the MIT License.
The Web Content Accessibility Guidelines content are copyright ® W3C. W3C liability, trademark and document use rules apply.