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 66 incompleteData
77} from '../../commons/color' ;
88
9- import { distinguishableLinkEvaluate } from '../../../../ a11y-engine-core/lib/commons/distinguishable-link ' ;
9+ import a11y_engine_commons from '../../commons/ a11y-engine-index ' ;
1010
1111function getContrast ( color1 , color2 ) {
1212 var c1lum = color1 . getRelativeLuminance ( ) ;
@@ -41,7 +41,7 @@ function linkInTextBlockEvaluate(node) {
4141 this . relatedNodes ( [ parentBlock ] ) ;
4242
4343 if ( options . a11yRule ) {
44- return distinguishableLinkEvaluate ( node , parentBlock ) ;
44+ return a11y_engine_commons . distinguishableLinkEvaluate ( node , parentBlock ) ;
4545 }
4646
4747 // 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