Skip to content
Kitbay
Submit

experience-accessibility-validate

Apache-2.0Updated on Nov 6, 20261,156GitHub starsIncludes scripts

A Salesforce skill for checking whether a Lightning Web Component meets WCAG 2.2 accessibility criteria and fixing what it finds.

What the skill teaches

A Salesforce skill for checking whether a Lightning Web Component meets WCAG 2.2 accessibility criteria and fixing what it finds. The agent reviews the component's HTML, JavaScript and CSS against per-criterion reference files grouped by the four WCAG principles, and only reports issues it can tie directly to a cited success criterion. It treats Lightning base components as accessible when used correctly and keeps ARIA to cases where semantic HTML cannot do the job. Results go into an a11y-review.md report. A bundled Python script calculates colour contrast ratios, so Python 3.8 or later is listed as a requirement.

Capabilities

  • Review an LWC against WCAG 2.2 success criteria
  • Write findings to an a11y-review.md report
  • Check colour contrast with a bundled script
  • Suggest fixes for semantic markup, focus and labels