The AEW.3 has a wings latched indicator in the cockpit, the earlier AS/T types had mechanical indicators that popped out of the wings (above the leading edge, just inboard of first fold break) and were visible to the pilot and deck crews when the wings were unlatched.
I don’t know the circumstances of the accident, but I guess that there will always be mechanical or electrical faults that could lead to such things.