This page intentionally contains several accessibility violations so
oobee-client-scanner.js has something to detect.
Open the browser DevTools console for the full JSON output.
</body> tag:
<script src="https://cdn.jsdelivr.net/gh/GovTechSG/oobee@0.10.86/oobee-client-scanner.js"></script>
v0.10.86 release. Update the version tag as needed for newer releases.
window.oobee.scan() in your own script,
e.g. on a button click or on page load:
<script>
window.oobee.scan({
userInfo: { email: 'you@example.com', name: 'Your Name' },
// disableOobee: false, // true → skip oobee custom checks
// enableWcagAaa: true, // true → also run WCAG AAA rules
// elementsToScan: [], // [] = full page; or pass CSS selectors / DOM nodes
}).then(function(results) {
console.log(JSON.stringify(results, null, 2));
});
</script>
window.oobee.scrollToElement(item.xpath) with any
item.xpath value from the scan results to scroll and highlight it.
The elements below contain violations for the scanner to catch.
This text has low contrast.