
The underlying power of Ocawa is due to the integration of an expert system, a concept borrowed from the world of artificial intelligence.
Instead of hard-coding all of the checkpoints and rules for web accessibility into a programming language, an expert system works with a "rule-base" which it applies to the incoming "facts," the result being an in-depth report on the state of a site.
In the case of web accessibility, the rules are the collection of guidelines, checkpoints, and regulations that exist (e.g. "An html tag must have a lang attribute") and the "facts" are simply all the instances of html in the page (e.g. all the tags with their attributes and content).
As well as the simple power of this strategy, the combination of expert-system and rule-base is indispensable for staying on-top of evolving standards; rules can be added and entire rule-sets can be augmented easily, without any new programming.
In addition, to facilitate such changes, the rule system for Ocawa has been overhauled and provided with a dedicated XML-based mark-up language: OKWML. This serves as a generalized representation system for accessibility rules, whatever their origin.