@sa11y/preset-rules
Advanced tools
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"checks.d.ts","sourceRoot":"","sources":["../../src/custom-rules/checks.ts"],"names":[],"mappings":"AAMA,OAAO,GAAG,MAAM,UAAU,CAAC;;AAgB3B,wBAAwC"} | ||
| {"version":3,"file":"checks.d.ts","sourceRoot":"","sources":["../../src/custom-rules/checks.ts"],"names":[],"mappings":"AAMA,OAAO,GAAG,MAAM,UAAU,CAAC;;AA4B3B,wBAAwC"} |
@@ -16,4 +16,15 @@ "use strict"; | ||
| }, | ||
| { | ||
| id: 'Resize-reflow-textoverflow-check', | ||
| evaluate: "function (node) {const style = window.getComputedStyle(node); const tabIndex = node.getAttribute('tabindex'); if (tabIndex === '-1' && node.actualNode && !isVisibleOnScreen(node) && !isVisibleToScreenReaders(node)) { return false; } if (node.innerText === '') { return false; } if (style.getPropertyValue('text-overflow') === 'ellipsis') { function isTextTruncated(element) {const isTruncated = (element.scrollWidth > element.clientWidth); return isTruncated; } return !isTextTruncated(node); } return true; }", | ||
| metadata: { | ||
| impact: 'moderate', | ||
| messages: { | ||
| pass: 'Text element does not have ellipses ', | ||
| fail: 'Text element have ellipses which make difficulty to read', | ||
| }, | ||
| }, | ||
| }, | ||
| ]; | ||
| exports.default = checkData; | ||
| //# sourceMappingURL=checks.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../src/custom-rules/rules.ts"],"names":[],"mappings":"AAMA,OAAO,GAAG,MAAM,UAAU,CAAC;;AAkB3B,wBAAuC"} | ||
| {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../src/custom-rules/rules.ts"],"names":[],"mappings":"AAMA,OAAO,GAAG,MAAM,UAAU,CAAC;;AA0B3B,wBAAuC"} |
@@ -17,4 +17,12 @@ "use strict"; | ||
| }, | ||
| { | ||
| id: 'Resize-reflow-textoverflow', | ||
| selector: '*', | ||
| enabled: true, | ||
| any: ['Resize-reflow-textoverflow-check'], | ||
| all: [], | ||
| tags: ['custom'], | ||
| }, | ||
| ]; | ||
| exports.default = rulesData; | ||
| //# sourceMappingURL=rules.js.map |
+3
-3
| { | ||
| "name": "@sa11y/preset-rules", | ||
| "version": "6.10.2-alpha.3", | ||
| "version": "6.10.2", | ||
| "description": "Accessibility preset rule configs for axe", | ||
@@ -24,3 +24,3 @@ "license": "BSD-3-Clause", | ||
| "dependencies": { | ||
| "@sa11y/common": "6.10.2-alpha.3" | ||
| "@sa11y/common": "6.10.2" | ||
| }, | ||
@@ -38,3 +38,3 @@ "devDependencies": { | ||
| }, | ||
| "gitHead": "d4ef2132111101a7107bf506689cbc1ae421bd58" | ||
| "gitHead": "65768ad5f397356dcebdcd79f8459d4f3fd9d5a0" | ||
| } |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
74119
1.39%593
3.49%0
-100%+ Added
- Removed
Updated