function cleanupStatusDiv(documentProp) {
  const statusDiv = documentProp?.getElementById('a11y-status-message')

  if (statusDiv) {
    statusDiv.remove()
  }
}
Removes the status element from the DOM
@param {Document} documentProp