     # Check aria properties to see if the element should be ignored.
     if (element.getAttribute("aria-hidden")?.toLowerCase() in ["", "true"] or
         element.getAttribute("aria-disabled")?.toLowerCase() in ["", "true"])
-      return null # This element should never have a link hint.
+      return [] # This element should never have a link hint.
 
     # Check for attributes that make an element clickable regardless of its tagName.
     if (element.hasAttribute("onclick") or

    marker

  #
  # Determine whether the element is visible and clickable. If it is, return the element and the rect
  # bounding the element in the viewport.
  getVisibleClickable: (element) ->
    tagName = element.tagName.toLowerCase()
    isClickable = false

    if isClickable
      clientRect = DomUtils.getVisibleClientRect element
      if clientRect != null
        visibleElements.push {element: element, rect: clientRect, secondClassCitizen: onlyHasTabIndex}

    visibleElements

