Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 3.61 KB

README.md

File metadata and controls

47 lines (29 loc) · 3.61 KB

rule-server

This README covers topics to build and deploy the rules and rule server.

All the extensions and automated tools deployed at IBM Equal Access Accessibility Checker use the same engine and rule server making it easy to replicate finding issues.

  • For information on creating and modifying the rules, see README-RULES.
  • For information on installing the engine in a Node or browser environment, see README-NPM.

The rule server, engine, and tools are supporting components of the IBM Equal Access Toolkit. The Toolkit provides the tools and guidance to create experiences that are delightful for people of all abilities. The guidance is organized by phase, such as Plan, Design, Develop, and Verify, and explains how to integrate the automated testing tools into the Verify phase. The Toolkit is a major part of the accessibility information and applications at ibm.com/able.

Rules and Rulesets

Branches and rule archives

By default, deployments build the current ruleset as the preview archive. However, different branches deploy to different servers. The master branch deploys to able-main.xcc2slstt6y.us-south.codeengine.appdomain.cloud/rules. For end users to see and be able to select the preview rule set in the settings, changes must be merged into the prod branch.

Create a new rule set archive

  1. Install: In accessibility-checker-engine and rule-server run npm install

  2. Build: Delete rule-server/dist. In rule-server, npm run build

  3. Deploy: The new archive will be found in rule-server/dist/static/archives/preview. Copy and rename preview to the archive directory (e.g., rule-server/src/static/archives/yyyy.mm.dd)

  4. Metadata: Add an entry to rule-server/src/static/archives.json. See other entries for examples. Ensure that you move the latest property to the new archive.

Feedback and reporting bugs

If you think you've found a bug, have questions or suggestions, open a GitHub Issue, tagged with engine.

If you are an IBM employee, feel free to ask questions in the IBM internal Slack channel #accessibility-at-ibm.

License

IBM Equal Access Toolkit is released under the Apache-2.0 license