Show PDF tab order
I created a fillable PDF using Libre Office Draw. I carefully completed the tab order property to sequence the fields as I desired. But when viewed in Evince or Firefox it ignored my specified tab order. After wasting most of a day with a stupid chatbot that told me how the internal structure of my PDF was messed up, I finally discovered the real issue: Evince and Firefox ignore the internal field order given in the PDF. They use their own algorithm to provide what is the most common sense result: tab from top-down, left-right.
HOWEVER, even minisucle differences in field position can affect tab order. E.g., in my document one field was positioned .01cm different than another field which resulted in it being included in the tab order on the previous row. Relying on human eyesight to determine field alignment was unreliable.
So I had Claude code up a quick script to display the fields in tab order using top-down, left-right and their coordinates so I can verify the layout. This tool instantly revealed where my fields were out of position and I was quickly able to correct it in Libre Office Draw.