1. In an object-oriented environment, a method of testing a software program comprising a plurality of components executed on one of a plurality of operating systems for compliance with Americans with Disabilities Act (ADA) requirements, the method comprising: determining, in response to a trigger, a cursor position, wherein the trigger comprises a user manipulating a hotkey on a keyboard, and wherein the hotkey is associated with an event; ascertaining, based on the cursor position, an accessibility context associated with the cursor position; identifying a component by reference to the accessibility context, wherein the accessibility context has an accessibility role that defines a set of properties, including at least one program method, associated with the accessibility context, wherein the identified component comprises the set of properties; identifying an action to be taken by the identified component in response to the event associated with the hotkey, and emulating that action by recording, in real time and independent of any of the plurality of operating systems, the identified accessibility context and action, without causing the program to perform the action, wherein the recording of the identified accessibility context is an operating system independent process; retrieving the stored accessibility context; searching a component hierarchy for an object having an accessibility context matching the retrieved accessibility context; and playing back the action associated with the event based on the stored accessibility context to test the action associated with the event in reference to the accessibility context.