diff --git a/src/role-helpers.js b/src/role-helpers.js index 8ed3568b..961c3186 100644 --- a/src/role-helpers.js +++ b/src/role-helpers.js @@ -42,6 +42,8 @@ function isInaccessible(element) { return true } + // this branch is temporary code until jsdom fixes a bug + // istanbul ignore else if (supportsStyleInheritance === false) { // we go bottom-up for an inheritable property so we can only set it // if it wasn't set already i.e. the parent can't overwrite the child