@proof-ui/a11y-plugin
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -15,22 +15,3 @@ "use strict"; | ||
const axe = __importStar(require("axe-core")); | ||
const defaultAxeConfig = { | ||
rules: [ | ||
{ | ||
id: 'color-contrast', | ||
enabled: false | ||
}, | ||
{ | ||
id: 'duplicate-id', | ||
enabled: false | ||
}, | ||
{ | ||
id: 'heading-order', | ||
enabled: false | ||
}, | ||
{ | ||
id: 'label', | ||
none: ['help-same-as-label', 'multiple-label'] | ||
} | ||
] | ||
}; | ||
const defaultAxeConfig = {}; | ||
function createMessage(config, violations) { | ||
@@ -37,0 +18,0 @@ let message = '\nAccessibility Errors: \n'; |
{ | ||
"name": "@proof-ui/a11y-plugin", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"main": "dist/main.js", | ||
@@ -17,3 +17,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@proof-ui/core": "^0.0.7", | ||
"@proof-ui/core": "^0.0.8", | ||
"typescript": "3.5.3" | ||
@@ -25,3 +25,3 @@ }, | ||
}, | ||
"gitHead": "0c30f18acbda1ebf2106e697a6ca280dcf7b08c4" | ||
"gitHead": "54cf5338d6fe0e3ee685b26387ceb1b1350b0a45" | ||
} |
@@ -17,22 +17,3 @@ import Proof, { ProofPlugin, ProofTest, TestHookArgs } from '@proof-ui/core'; | ||
const defaultAxeConfig: axe.Spec = { | ||
rules: [ | ||
{ | ||
id: 'color-contrast', | ||
enabled: false | ||
}, | ||
{ | ||
id: 'duplicate-id', | ||
enabled: false | ||
}, | ||
{ | ||
id: 'heading-order', | ||
enabled: false | ||
}, | ||
{ | ||
id: 'label', | ||
none: ['help-same-as-label', 'multiple-label'] | ||
} | ||
] | ||
}; | ||
const defaultAxeConfig: axe.Spec = {}; | ||
@@ -39,0 +20,0 @@ function createMessage(config: TestConfig, violations: axe.Result[]): string { |
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
16415
8
1
44
293