File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 6
6
incompleteData
7
7
} from '../../commons/color' ;
8
8
9
- import { distinguishableLinkEvaluate } from '../../../../ a11y-engine-core/lib/commons/distinguishable-link ' ;
9
+ import a11y_engine_commons from '../../commons/ a11y-engine-index ' ;
10
10
11
11
function getContrast ( color1 , color2 ) {
12
12
var c1lum = color1 . getRelativeLuminance ( ) ;
@@ -41,7 +41,7 @@ function linkInTextBlockEvaluate(node) {
41
41
this . relatedNodes ( [ parentBlock ] ) ;
42
42
43
43
if ( options . a11yRule ) {
44
- return distinguishableLinkEvaluate ( node , parentBlock ) ;
44
+ return a11y_engine_commons . distinguishableLinkEvaluate ( node , parentBlock ) ;
45
45
}
46
46
47
47
// TODO: Check the :visited state of the link
Original file line number Diff line number Diff line change
1
+ import { distinguishableLinkEvaluate } from '../../../a11y-engine-core/lib/commons/distinguishable-link' ;
2
+
3
+ let a11y_engine_commons = { } ;
4
+ a11y_engine_commons . distinguishableLinkEvaluate = distinguishableLinkEvaluate ;
5
+
6
+ export default a11y_engine_commons ;
You can’t perform that action at this time.
0 commit comments