Skip to content

1.11.0

Latest

Choose a tag to compare

@nilbuild nilbuild released this 08 Nov 23:11
· 3 commits to master since this release

Added

  • advanceOn completes a step on any event, like "contextmenu", and { event, when } only completes it when your check passes.
  • onInteraction sees clicks, right-clicks and double-clicks during a step and can block them with return false.
  • allowedElements keeps menus and popups opened by a step usable above the overlay.
  • onElementMissing lets you recover when a step's element disappears or a wait times out. Return false on a timeout to stay on the current step.
  • driverObj.updatePopover() changes the popover text in place and announces it to screen readers.
  • driverObj.nudge() shakes the popover to draw attention, and nudge({ description }) changes its text at the same time.
  • onHighlighted gets a signal that aborts when the step is left.

Changed

  • While waitForElement waits, the popover stays visible in a waiting state, keeping the close button usable.
  • Escape and arrow keys pressed in a text field, select or ARIA widget inside the highlighted element now go to your app instead of the tour.
  • The popover no longer takes focus from the highlighted element when a step starts.
  • showButtons: [] in the driver config now hides all buttons instead of showing all of them.
  • Highlighting no longer overwrites an element's own aria-haspopup, aria-expanded or aria-controls.
  • advanceOnClick is deprecated in favor of advanceOn: "click". It keeps working.

Fixed

  • Hints in an open <dialog> no longer get covered when the page styles
    every [popover], for example with a dark background.
    (#628)