What ASME A17.1 Does and Does Not Establish in a Legal Claim
Where a state has adopted the code, it can serve as evidence of the standard of care, meaning what a reasonably safe elevator or escalator was required to do at the time. A departure from the code's requirements may be relevant to whether a legal duty was breached. It does not, by itself, establish that anyone is liable. For an injured person, this means a code violation in a report is a piece of the picture, not the whole of it.
Depending on where you were hurt and what failed, a claim may involve one of two kinds of state law. If the accident happened in a hotel, an office building, an apartment complex or a mall, premises liability may be in play: the duty of a property owner or operator to maintain safe conditions for people on the property. If the equipment itself was flawed, product liability may apply: a legal theory based on a defect in the design, manufacture or warnings of a product, which can bring an equipment manufacturer into the question. Both are governed by state law, and the rules vary from state to state.
The code does not prove that an accident happened a particular way, that a specific defect caused a specific injury, or what damages the law may allow. An injury does not prove anyone's fault, and an accident does not prove a defect. Put in terms of your situation, a claim generally turns on four questions: whether someone owed you a duty, whether they breached it, whether that breach caused your injury, and what damages resulted. Whether each is met depends on the facts.
Two questions stay distinct throughout: whether the code's requirements were met, and if not, whether that departure caused the injury. Both are questions of fact. Who owned the property, who maintained the equipment and who made it are details worth gathering, since they bear on which kind of claim may be involved.