Skip to content

Commit af4764c

Browse files
[MWPW-175634] Reading time color update for a11y (#4494)
1 parent d90cb92 commit af4764c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

libs/blocks/reading-time/reading-time.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import '../../styles/inline.css';
22

33
.reading-time > span {
4-
color: #adadad;
4+
color: rgb(80 80 80);
55
font-style: italic;
66
font-weight: 700;
77
font-size: var(--type-body-s-size);
@@ -40,7 +40,7 @@ main > .section > .inline-wrapper > .inline.reading-time + .inline.share {
4040
border-left: none;
4141
padding-left: 0;
4242
}
43-
43+
4444
main > .section > .inline-wrapper > .inline + .inline.reading-time {
4545
border-top: 1px solid #adadad;
4646
}

nala/blocks/reading-time/reading-time.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test.describe('Reading-time feature test suite', () => {
3434
});
3535

3636
await test.step('step-4: Verify the accessibility test on Reading-time block', async () => {
37-
await runAccessibilityTest({ page, testScope: readingTime.readingTime, skipA11yTest: true });
37+
await runAccessibilityTest({ page, testScope: readingTime.readingTime });
3838
});
3939
});
4040

@@ -63,7 +63,7 @@ test.describe('Reading-time feature test suite', () => {
6363
});
6464

6565
await test.step('step-4: Verify the accessibility test on Reading-time without text block', async () => {
66-
await runAccessibilityTest({ page, testScope: readingTime.readingTime, skipA11yTest: true });
66+
await runAccessibilityTest({ page, testScope: readingTime.readingTime });
6767
});
6868
});
6969

@@ -112,7 +112,7 @@ test.describe('Reading-time feature test suite', () => {
112112
});
113113

114114
await test.step('step-4: Verify the accessibility test on Reading-time with text block', async () => {
115-
await runAccessibilityTest({ page, testScope: readingTime.readingTime, skipA11yTest: true });
115+
await runAccessibilityTest({ page, testScope: readingTime.readingTime });
116116
});
117117
});
118118
});

nala/utils/nala.run.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function displayHelp() {
2121
\x1b[33m* config=<config-file>\x1b[0m Custom configuration file to use (default: Playwright's default)
2222
\x1b[33m* project=<project-name>\x1b[0m Project configuration (default: milo-live-chromium)
2323
\x1b[33m* milolibs=<local|prod|code|feature>\x1b[0m Milo library environment (default: none)
24-
\x1b[33m* owner=<repo-owner>\x1b[0m repo owner (default owner = adobecom)
24+
\x1b[33m* owner=<repo-owner>\x1b[0m repo owner (default owner = adobecom)
2525
2626
\x1b[1mExamples:\x1b[0m
2727
| \x1b[36mCommand\x1b[0m | \x1b[36mDescription\x1b[0m |
@@ -33,7 +33,7 @@ function displayHelp() {
3333
| npm run nala local mode=ui | Runs all nala tests on local environment in UI mode on chrome browser |
3434
| npm run nala local -g=@accordion | Runs tests annotated with tag i.e @accordion on local env on chrome browser |
3535
| npm run nala local -g=@accordion browser=firefox | Runs tests annotated with tag i.e @accordion on local env on Firefox browser |
36-
| npm run nala <featurebranch> owner='<owner>' | Runs all nala tests on the specified feature branch for the given repo owner |
36+
| npm run nala <featurebranch> owner='<owner>' | Runs all nala tests on the specified feature branch for the given repo owner |
3737
3838
\x1b[1mDebugging:\x1b[0m
3939
-----------

0 commit comments

Comments
 (0)