Repository navigation
0.18.0
What's Changed
Details
Currently .navigateToWebContent() behaves differently to other Guidepup commands.
This is a breaking change to update the interface to start taking an options argument, to align the interface and behaviour, starting with support for the capture flag:
- When
truethe full spoken phrase of the final command to place the screen reader cursor on the first item of the web content is captured in full - When
"initial"the initial spoken phrase of the final command to place the screen reader cursor on the first item of the web content is captured - When
falseno spoken phrases are captured
// Use default capture set when the screen reader was started
await screenReader.navigateToWebContent();
// Don't capture the navigation to web content
await screenReader.navigateToWebContent({ capture: false });
// Capture the full spoken phrase for the first item in the web content
await screenReader.navigateToWebContent({ capture: true });
// Capture the initial spoken phrase for the first item in the web content
await screenReader.navigateToWebContent({ capture: "initial" });Full Changelog: 0.17.0...0.18.0