v0.7.12
Whats Changed
New runner added IBM-Ace
import { kayle } from "kayle";
const { issues, pageUrl, documentTitle, meta, automateable } = await kayle({
page,
browser,
runners: ["ace"],
origin: "https://www.drake.com",
});
// example results for an issue
// {
// context: '<a id="cta_button_5479613_5d5e3141-f749-4fa7-b734-25667e531cfe" class="cta_button " href="https://www.drake.com/cs/c/?cta_guid=5d5e3141-f749-4fa7-b734-25667e531cfe&signature=AAH58kHo1qzsXaPOT8WcWuRYgZglZwRuZw&pageId=8839032963&placement_gu...',
// selector: '#cta_button_5479613_5d5e3141-f749-4fa7-b734-25667e531cfe',
// code: 'WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Alpha',
// type: 'warning',
// typeCode: 2,
// message: "This element's text or background contains transparency. Ensure the contrast ratio between the text and background are at least 4.5:1.",
// runner: 'ace',
// recurrence: 0
// }
Full Changelog: v0.4.55...v0.7.12