mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Merge pull request #1311 from tdonohue/disable_a11y_checks
Temporarily disable a11y check until random failure for color contrast can be fixed
This commit is contained in:
@@ -20,18 +20,18 @@ describe('Homepage', () => {
|
|||||||
cy.url().should('include', 'query=' + encodeURI(queryString));
|
cy.url().should('include', 'query=' + encodeURI(queryString));
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should pass accessibility tests', () => {
|
// it('should pass accessibility tests', () => {
|
||||||
// first must inject Axe into current page
|
// // first must inject Axe into current page
|
||||||
cy.injectAxe();
|
// cy.injectAxe();
|
||||||
|
|
||||||
// Analyze entire page for accessibility issues
|
// // Analyze entire page for accessibility issues
|
||||||
// NOTE: this test checks accessibility of header/footer as well
|
// // NOTE: this test checks accessibility of header/footer as well
|
||||||
cy.checkA11y({
|
// cy.checkA11y({
|
||||||
exclude: [
|
// exclude: [
|
||||||
['#klaro'], // Klaro plugin (privacy policy popup) has color contrast issues
|
// ['#klaro'], // Klaro plugin (privacy policy popup) has color contrast issues
|
||||||
['#search-navbar-container'], // search in navbar has duplicative ID. Will be fixed in #1174
|
// ['#search-navbar-container'], // search in navbar has duplicative ID. Will be fixed in #1174
|
||||||
['.dropdownLogin'] // "Log in" link in header has color contrast issues
|
// ['.dropdownLogin'] // "Log in" link in header has color contrast issues
|
||||||
],
|
// ],
|
||||||
});
|
// });
|
||||||
});
|
// });
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user