-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify checklist in PR template #1322
Conversation
PULL_REQUEST_TEMPLATE.md
Outdated
@@ -11,5 +11,6 @@ | |||
## Checklist | |||
|
|||
- [ ] phpUnit tests pass locally with my changes | |||
- [ ] I have added tests that prove my fix is effective or that my feature works (if not, explain why below) | |||
- [ ] I have added tests that the new code works, or tests are not relevant for this PR (e.g. only HTML/CSS changes) | |||
- [ ] The PR doesn't reduce accessibility of the front-end code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 🙇
Codecov Report
@@ Coverage Diff @@
## master #1322 +/- ##
=========================================
Coverage 70.68% 70.68%
Complexity 1646 1646
=========================================
Files 32 32
Lines 3786 3786
=========================================
Hits 2676 2676
Misses 1110 1110 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice and needed changes/additions @osma !
Minor comments:
One could add examples to the newly added accessibility part. E.g., tabbing works (element flow is logical, focused element is visually distinguishable), .sr-only
is used when approriate (together with appropriate usage of headings), color contrast is high enough... EDIT: also that it scales well (different zoom/resolution levels)
Other than that, looks good to me! 👍
Kudos, SonarCloud Quality Gate passed! |
I made small fixes in a new commit based on your suggestions, but I think it's impossible to give a thorough lesson on accessibility in the context of a single checkbox so these are by necessity just reminder keywords, intended for a developer who knows about accessible design. |
Reasons for creating this PR
After using the PR template for a while, I've found that the checklist is a bit problematic, especially the question about added unit tests. This PR rephrases the question so that it can be ticked also in cases where tests are not relevant (e.g. only changes to front-end code for which we don't have unit tests anyway)
Link to relevant issue(s), if any
n/a
Description of the changes in this PR
Known problems or uncertainties in this PR
n/a
Checklist