@yuktishaalaa/yuktai 5.3.11 → 5.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.js +10 -10
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
- package/vanilla/index.js +3 -1
- package/vanilla/index.min.js +18 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuktishaalaa/yuktai",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.12",
|
|
4
4
|
"description": "Accessibility, AI and data toolkit for Next.js, React and plain HTML: WCAG 2.2 auto-fix, agentic data grid, accessibility copilot, QA reports and in-browser RAG. Zero API keys.",
|
|
5
5
|
"author": "Sandeep Miriyala — Yuktishaalaa AI Lab",
|
|
6
6
|
"license": "GPL-3.0-only",
|
package/vanilla/index.js
CHANGED
|
@@ -1347,6 +1347,7 @@ ${summarizeRows(rows, columns)}` };
|
|
|
1347
1347
|
var INTERACTIVE = "a[href],button,input:not([type='hidden']),select,textarea,summary,[role='button'],[role='link'],[role='checkbox'],[role='tab'],[role='menuitem']";
|
|
1348
1348
|
|
|
1349
1349
|
// src/agentic/qaAudit.ts
|
|
1350
|
+
var DISABLED = "button[disabled],input[disabled],select[disabled],textarea[disabled],fieldset[disabled],[aria-disabled='true']";
|
|
1350
1351
|
var AUDIT_RULES = {
|
|
1351
1352
|
"html-lang": {
|
|
1352
1353
|
title: "Page language is set",
|
|
@@ -1556,6 +1557,7 @@ ${summarizeRows(rows, columns)}` };
|
|
|
1556
1557
|
for (const el of queryAll(root, "body *")) {
|
|
1557
1558
|
if (checked >= max) break;
|
|
1558
1559
|
if (!hasDirectText(el) || ["SCRIPT", "STYLE", "NOSCRIPT", "OPTION"].includes(el.tagName)) continue;
|
|
1560
|
+
if (el.closest(DISABLED)) continue;
|
|
1559
1561
|
checked++;
|
|
1560
1562
|
const fg = parseColor(window.getComputedStyle(el).color);
|
|
1561
1563
|
const bg = effectiveBackground(el);
|
|
@@ -7947,7 +7949,7 @@ ${command ? command.say : "Not a voice command. Try: make text bigger, high cont
|
|
|
7947
7949
|
}
|
|
7948
7950
|
|
|
7949
7951
|
// vanilla/src/index.js
|
|
7950
|
-
var VERSION = "5.3.
|
|
7952
|
+
var VERSION = "5.3.12";
|
|
7951
7953
|
(function boot() {
|
|
7952
7954
|
if (!isBrowser2()) return;
|
|
7953
7955
|
if (window.yuktai && window.yuktai.__vanillaInitialized) return;
|