Skip to main content

mesmer a11y

Manage accessibility policies; run audits and view their results.

mesmer a11y audit#

Start an accessibility audit of the crawl with the given Job ID.

# Get the ID of a crawl job# (note: you can also get this from the output of 'crawl start')$ job_id="$(mesmer -q .job_id crawl start $some_build_id)"
# Wait for the crawl to complete$ mesmer crawl wait $job_id
# Start the a11y audit, and get its results.$ mesmer a11y audit $job_id# < output omitted for brevity, see 'mesmer a11y describe' for an example >
# Alternatively: get the results as JSON, and store them in a file.$ mesmer -j a11y autit $job_id > audit_results.json

If you'd like to use a specific a11y policy, you can pass its ID:

$ mesmer a11y audit $job_id --policy $policy_id

mesmer a11y describe#

To get the results of an existing a11y audit, you can use mesmer a11y describe. You can get the right audit ID from the output of mesmer crawl describe, if any have been run before.

$ mesmer a11y describe $audit_idCriterion ID             Screen ID  Object ID  Code       Name                           URL5f50ad33b0ab0f4a6b275e1a 16928      17         1.1.1      Non-text Content - Others      https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html5f50ad33b0ab0f4a6b275e1a 16928      126        1.1.1      Non-text Content - Others      https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html5f50ad33b0ab0f4a6b275e1a 16928      128        1.1.1      Non-text Content - Others      https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html5f50ad33b0ab0f4a6b275e1a 16928      156        1.1.1      Non-text Content - Others      https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html5f50ad33b0ab0f4a6b275e1a 16928      90         1.1.1      Non-text Content - Others      https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html5f50ad33b0ab0f4a6b275e1a 16928      144        1.1.1      Non-text Content - Others      https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html5f50ad33b0ab0f4a6b275e1a 16928      122        1.1.1      Non-text Content - Others      https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html5f50ad33b0ab0f4a6b275e1a 16928      158        1.1.1      Non-text Content - Others      https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html5f50ad33b0ab0f4a6b275e1a 16928      51         1.1.1      Non-text Content - Others      https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html5f50ad33b0ab0f4a6b275e1a 16928      143        1.1.1      Non-text Content - Others      https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html

mesmer a11y policies#

List all the accessibility policies configured for the current tenant.

$ mesmer a11y policiesPolicy ID                Name                           Version  Org.       Creatoraaaaaaaaaaaaaaaaaaaaaaaa WCAG                           2.1      W3C        Jessicabbbbbbbbbbbbbbbbbbbbbbbb Custom Policy                  2.1      W3C        Robert

mesmer a11y policy#

You can export a given policy as JSON with a11y policy

$ mesmer a11y policy $policy_id[ ... a lot of JSON on standard out ... ]
$ mesmer -q '._standard._description' a11y policy $policy_idWeb Content Accessibility Guidelines (WCAG) 2.1 defines how to make Web content more accessible to people with disabilities.