Skip to main content

destroy()

Releases the instance's active OpenKeyNav state and returns the instance.

openKeyNav.destroy();

destroy() exits Structural Navigation, clears status surfaces, removes the document keyboard listener, removes generated overlays and movement attributes, clears diagnostic flags, removes injected styles, and marks the instance as disabled.