Skip to content

Commit 8d104a2

Browse files
committed
Clarify error messages/documentation
1 parent 88c9363 commit 8d104a2

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

.github/actions/find/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ https://primer.style/octicons/
2121

2222
#### `reduced_motion`
2323

24-
**Optional** Playwright [`reducedMotion`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-reduced-motion) setting to emulate user preference. Allowed values: `reduce`, `no-preference`.
24+
**Optional** Playwright
25+
[`reducedMotion`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-reduced-motion)
26+
configuration option.
2527

2628
#### `color_scheme`
2729

28-
**Optional** Playwright [`colorScheme`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-color-scheme) setting to emulate user preference. Allowed values: `light`, `dark`, `no-preference`.
30+
**Optional** Playwright
31+
[`colorScheme`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-color-scheme)
32+
configuration option.
2933

3034
### Outputs
3135

.github/actions/find/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ inputs:
1414
required: false
1515
default: "false"
1616
reduced_motion:
17-
description: "Playwright reducedMotion setting. Allowed values: 'reduce', 'no-preference'"
17+
description: "Playwright reducedMotion setting: https://playwright.dev/docs/api/class-browser#browser-new-page-option-reduced-motion"
1818
required: false
1919
color_scheme:
20-
description: "Playwright colorScheme setting. Allowed values: 'light', 'dark', 'no-preference'"
20+
description: "Playwright colorScheme setting: https://playwright.dev/docs/api/class-browser#browser-new-context-option-color-scheme"
2121
required: false
2222

2323
outputs:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
# auth_context: # Optional: Stringified JSON object for complex authentication
5252
# skip_copilot_assignment: false # Optional: Set to true to skip assigning issues to GitHub Copilot (or if you don't have GitHub Copilot)
5353
# include_screenshots: false # Optional: Set to true to capture screenshots and include links to them in filed issues
54-
# reduced_motion: no-preference # Optional: Playwright reduced motion emulation (`reduce` or `no-preference`)
55-
# color_scheme: dark # Optional: Playwright color scheme emulation (`light`, `dark`, or `no-preference`)
54+
# reduced_motion: no-preference # Optional: Playwright reduced motion configuration option
55+
# color_scheme: light # Optional: Playwright color scheme configuration option
5656
```
5757

5858
> 👉 Update all `REPLACE_THIS` placeholders with your actual values. See [Action Inputs](#action-inputs) for details.
@@ -152,11 +152,11 @@ The a11y scanner leverages GitHub Copilot coding agent, which can be configured
152152

153153
💬 We welcome your feedback! To submit feedback or report issues, please create an issue in this repository. For more information on contributing, please refer to the [CONTRIBUTING](./CONTRIBUTING.md) file.
154154

155-
## License
155+
## License
156156

157157
📄 This project is licensed under the terms of the MIT open source license. Please refer to the [LICENSE](./LICENSE) file for the full terms.
158158

159-
## Maintainers
159+
## Maintainers
160160

161161
🔧 Please refer to the [CODEOWNERS](./.github/CODEOWNERS) file for more information.
162162

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ inputs:
3636
required: false
3737
default: "false"
3838
reduced_motion:
39-
description: "Playwright reducedMotion setting for scans. Allowed values: 'reduce', 'no-preference'"
39+
description: "Playwright reducedMotion setting: https://playwright.dev/docs/api/class-browser#browser-new-page-option-reduced-motion"
4040
required: false
4141
color_scheme:
42-
description: "Playwright colorScheme setting for scans. Allowed values: 'light', 'dark', 'no-preference'"
42+
description: "Playwright colorScheme setting: https://playwright.dev/docs/api/class-browser#browser-new-context-option-color-scheme"
4343
required: false
4444

4545
outputs:

0 commit comments

Comments
 (0)