You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add workflow input options for reducedMotion and colorScheme (#145)
- [x] Inspect repository structure, related issues, and current find
action input flow
- [x] Run existing lint/tests and identify baseline status (noting
unrelated existing failures)
- [x] Add minimal new inputs to the appropriate action.yml files for
`reduced_motion` and `color_scheme`
- [x] Thread new inputs through the find action code and validate
allowed values before passing to Playwright context options
- [x] Update directly related documentation for the new inputs
- [x] Run relevant lint/build/tests after changes
- [x] Run code review and security scan tools, address any actionable
findings
- [x] Summarize changes, validation results, and security status
<!-- START COPILOT CODING AGENT TIPS -->
---
🔒 GitHub Advanced Security automatically protects Copilot coding agent
pull requests. You can protect all pull requests by enabling Advanced
Security for your repositories. [Learn more about Advanced
Security.](https://gh.io/cca-advanced-security)
# color_scheme: light # Optional: Playwright color scheme configuration option
54
56
```
55
57
56
58
> 👉 Update all `REPLACE_THIS` placeholders with your actual values. See [Action Inputs](#action-inputs) for details.
@@ -115,6 +117,8 @@ Trigger the workflow manually or automatically based on your configuration. The
115
117
|`auth_context`| No | If scanned pages require authentication, a stringified JSON object containing username, password, cookies, and/or localStorage from an authenticated session |`{"username":"some-user","password":"***","cookies":[...]}`|
116
118
|`skip_copilot_assignment`| No | Whether to skip assigning filed issues to GitHub Copilot. Set to `true` if you don't have GitHub Copilot or prefer to handle issues manually |`true`|
117
119
|`include_screenshots`| No | Whether to capture screenshots of scanned pages and include links to them in filed issues. Screenshots are stored on the `gh-cache` branch of the repository running the workflow. Default: `false`|`true`|
120
+
|`reduced_motion`| No | Playwright `reducedMotion` setting for scan contexts. Allowed values: `reduce`, `no-preference`|`reduce`|
121
+
|`color_scheme`| No | Playwright `colorScheme` setting for scan contexts. Allowed values: `light`, `dark`, `no-preference`|`dark`|
118
122
119
123
---
120
124
@@ -148,11 +152,11 @@ The a11y scanner leverages GitHub Copilot coding agent, which can be configured
148
152
149
153
💬 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.
150
154
151
-
## License
155
+
## License
152
156
153
157
📄 This project is licensed under the terms of the MIT open source license. Please refer to the [LICENSE](./LICENSE) file for the full terms.
154
158
155
-
## Maintainers
159
+
## Maintainers
156
160
157
161
🔧 Please refer to the [CODEOWNERS](./.github/CODEOWNERS) file for more information.
0 commit comments