Skip to content

CapeTown | May-2025 | Wahae Koela | Form Control #711

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

blackoutisback
Copy link

@blackoutisback blackoutisback commented Jun 6, 2025

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | PROJ_NAME
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

removed the redundant
added pattern to the name

Briefly explain your PR.

Questions

Ask any questions you have for your reviewer.

Copy link

netlify bot commented Jun 6, 2025

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 8daa716
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6843522db02a61000869dea2
😎 Deploy Preview https://deploy-preview-711--cyf-onboarding-module.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
2 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 82 (🔴 down 4 from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@blackoutisback blackoutisback added the Needs Review Participant to add when requesting review label Jun 6, 2025
@cjyuan
Copy link
Contributor

cjyuan commented Jun 6, 2025

Why did you close this PR?

Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this PR was closed by accident.
Should this PR be reopened, here is my feedback:


Form implementation is pretty solid.

  1. According to https://validator.w3.org/, there is an error in your code. Can you fix it?

  2. Can you improve the Lighthouse Accessibility score of your page to 100?

  3. To follow best practices, in your PR description, can you provide a brief description (under the "Changelist" section) summarizing the purpose of the PR and the changes you’ve made?
    image

try writing out the requirements first as comments
this will also help you fill in your PR message later-->
<label for="name">Name:</label>
<input type="text" id="name" name="name" required />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently a user can enter a name consisting of only space characters (e.g., " "). Can you enforce a stricter validation rule using the pattern attribute to disallow any name that contains only space characters?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was a mistake editing all things now

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review and removed Needs Review Participant to add when requesting review labels Jun 6, 2025
@blackoutisback blackoutisback reopened this Jun 6, 2025
@blackoutisback blackoutisback reopened this Jun 6, 2025
@blackoutisback blackoutisback added Needs Review Participant to add when requesting review Reviewed Volunteer to add when completing a review and removed Reviewed Volunteer to add when completing a review labels Jun 6, 2025
@cjyuan
Copy link
Contributor

cjyuan commented Jun 6, 2025

Changes look good.

I just noticed the Lighthouse Accessibility score of your page is not yet 100. I am sure you can improve them to 100 easily.

Now that you have completed both your PRs, please follow the instructions in #570 to prepare what you need to submit on the Course Platform.

@cjyuan cjyuan added Complete Volunteer to add when work is complete and review comments have been addressed and removed Needs Review Participant to add when requesting review Reviewed Volunteer to add when completing a review labels Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complete Volunteer to add when work is complete and review comments have been addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants