Solvitur ambulando

I’ve been grinding since December on ADA mandates. There’s no way to fully satisfy the Kafkan requirements. The rules are subjective and exact, a bureaucrat’s wet dream. But we still have to get “close enough” to make the product acceptable for some customers.

First I spent two months filling in text descriptions for 2000 different images and highlights, then another two months revising the code to make things work for keyboard-only users. I had to eliminate quite a few graphic “gimmicks” that were incurably visual. Fortunately most of those “gimmicks” were old, and I had been gradually abandoning them through the years because they were ALSO hard for sighted students to judge properly.

Finally I’m down to the last few changes in code, halted (as usual) by a mysterious error that doesn’t seem to make sense.

This morning I made the weekly walk / bus trip for groceries. Along the way the resolution dawned.

This button is clearly identified as Exit. Why does it fire an error when I try to pin it down with getElementById(“Exit”)? The other lines in this document work. Why not this one?

Oh. “Exit” isn’t the ID. The row containing the button has ID=”ExitRow” but the button itself doesn’t have an ID at all. “Exit” is the internal title, not the ID. After adding the ID, the error went away.

Solvitur ambulando.