Loading core/tests/Drupal/Nightwatch/Tests/a11yTestAdmin.js +31 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,30 @@ const testCases = [ { name: 'Structure Page', path: '/admin/structure' }, { name: 'Add content type', path: '/admin/structure/types/add' }, { name: 'Add vocabulary', path: '/admin/structure/taxonomy/add' }, { // Tests long breadcrumb for https://drupal.org/i/3223147. name: 'Manage text format, mobile', path: '/admin/config/content/formats/manage/restricted_html', windowSize: { // Dimensions used by Lighthouse for mobile. width: 415, height: 823, }, options: { runOnly: { type: 'tag', values: [ 'wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa', 'best-practice', 'wcag22a', 'wcag22aa', ], }, }, }, // @todo remove the skipped rules below in https://drupal.org/i/3318394. { name: 'Structure | Block', Loading @@ -38,6 +62,13 @@ const testCases = [ testCases.forEach((testCase) => { adminTest[`Accessibility - Admin Theme: ${testCase.name}`] = (browser) => { if (testCase.windowSize) { browser.setWindowSize( testCase.windowSize.width, testCase.windowSize.height, ); } browser.drupalLoginAsAdmin(() => { browser .drupalRelativeURL(testCase.path) Loading core/themes/claro/css/components/breadcrumb.css +2 −1 Original line number Diff line number Diff line Loading @@ -25,11 +25,12 @@ .breadcrumb__item, .breadcrumb__link { display: inline; display: inline-block; -webkit-text-decoration: none; text-decoration: none; color: var(--color-text); font-weight: bold; line-height: 1.5rem; } .breadcrumb__item + .breadcrumb__item::before { Loading core/themes/claro/css/components/breadcrumb.pcss.css +2 −1 Original line number Diff line number Diff line Loading @@ -18,10 +18,11 @@ .breadcrumb__item, .breadcrumb__link { display: inline; display: inline-block; text-decoration: none; color: var(--color-text); font-weight: bold; line-height: 1.5rem; } .breadcrumb__item + .breadcrumb__item::before { Loading Loading
core/tests/Drupal/Nightwatch/Tests/a11yTestAdmin.js +31 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,30 @@ const testCases = [ { name: 'Structure Page', path: '/admin/structure' }, { name: 'Add content type', path: '/admin/structure/types/add' }, { name: 'Add vocabulary', path: '/admin/structure/taxonomy/add' }, { // Tests long breadcrumb for https://drupal.org/i/3223147. name: 'Manage text format, mobile', path: '/admin/config/content/formats/manage/restricted_html', windowSize: { // Dimensions used by Lighthouse for mobile. width: 415, height: 823, }, options: { runOnly: { type: 'tag', values: [ 'wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa', 'best-practice', 'wcag22a', 'wcag22aa', ], }, }, }, // @todo remove the skipped rules below in https://drupal.org/i/3318394. { name: 'Structure | Block', Loading @@ -38,6 +62,13 @@ const testCases = [ testCases.forEach((testCase) => { adminTest[`Accessibility - Admin Theme: ${testCase.name}`] = (browser) => { if (testCase.windowSize) { browser.setWindowSize( testCase.windowSize.width, testCase.windowSize.height, ); } browser.drupalLoginAsAdmin(() => { browser .drupalRelativeURL(testCase.path) Loading
core/themes/claro/css/components/breadcrumb.css +2 −1 Original line number Diff line number Diff line Loading @@ -25,11 +25,12 @@ .breadcrumb__item, .breadcrumb__link { display: inline; display: inline-block; -webkit-text-decoration: none; text-decoration: none; color: var(--color-text); font-weight: bold; line-height: 1.5rem; } .breadcrumb__item + .breadcrumb__item::before { Loading
core/themes/claro/css/components/breadcrumb.pcss.css +2 −1 Original line number Diff line number Diff line Loading @@ -18,10 +18,11 @@ .breadcrumb__item, .breadcrumb__link { display: inline; display: inline-block; text-decoration: none; color: var(--color-text); font-weight: bold; line-height: 1.5rem; } .breadcrumb__item + .breadcrumb__item::before { Loading