Skip to content
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

Make toolkit guide cards WCAG compliant #3726

Merged

Conversation

michaelmagen
Copy link
Member

Fixes #2929

What changes did you make and why did you make them ?

  • Updated _includes/guide-card.html as specified in issue.
  • Moved 2FA.svg to assets\images\guides\2FA directory
  • Moved survey-reporting-image.svg to assets\images\guides\2FA directory assets\images\guides\survey-reporting directory
  • Updated svg field for all html files in _guide-pages\ directory
  • After making these changes, had trouble fixing the spacing between image and text in guid cards (see screenshots below). Created this pull request to allow others to help fix the spacing.

Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)

Visuals before changes are applied Screen Shot 2022-11-16 at 11 31 40 AM
Visuals after changes are applied Screen Shot 2022-11-16 at 11 32 51 AM
Figma design for the Toolkit page Screen Shot 2022-11-16 at 11 37 03 AM

@github-actions
Copy link

Want to review this pull request? Take a look at this documentation for a step by step guide!

From your project repository, check out a new branch and test the changes.

git checkout -b michaelmagen-guide-card-wcag-update-2929 gh-pages
git pull https://github.com/michaelmagen/website.git guide-card-wcag-update-2929

@github-actions github-actions bot added Feature: Accessibility Issues that would broaden website accessibility Feature: Refactor HTML P-Feature: Toolkit https://www.hackforla.org/toolkit/ role: front end Tasks for front end developers size: 2pt Can be done in 7-12 hours Complexity: Medium labels Nov 16, 2022
@blulady
Copy link
Member

blulady commented Nov 17, 2022

@plang-psm Did you get a chance to slack michaelmagen about your findings? If not, feel free to post them here, if you already spoke with him, don't worry about it.

@plang-psm
Copy link
Member

Hi @blulady , just wrapped up our meeting regarding the issue! @michaelmagen will be finishing up and submitting for PR review soon.

@angelenelm
Copy link
Member

I can't wait to see how you figured out the spacing!

@michaelmagen
Copy link
Member Author

I added the changed I had discussed with @plang-psm. However, there is an extra commit called "Merge brach 'hackforla:gh-pages' into guide-card-wcag-update-2929" from when I tried to incorporate the update my topic branch with the changes made in the hackforla repository. Is this an issue?

@blulady
Copy link
Member

blulady commented Nov 19, 2022

I added the changed I had discussed with @plang-psm. However, there is an extra commit called "Merge brach 'hackforla:gh-pages' into guide-card-wcag-update-2929" from when I tried to incorporate the update my topic branch with the changes made in the hackforla repository. Is this an issue?

Shouldn't be.

Copy link
Member

@blulady blulady left a comment

Choose a reason for hiding this comment

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

The issue linked says to make it look like the site. I would argue that you have made it look better than the site, especially for the Responsive view. All of the mobile views seem to have the problem of the default card not being the same size as the website and while, personally, I think it's fine, I am uncertain if it is functioning as designed.

see screen shots

Screenshot (304)

Screenshot (305)

Screenshot (306)

Screenshot (307)

The ipads look good. Until you come to the view of the Surface Duo which seems to have the same issue but the Galaxy Fold has the same problem

Screenshot (308)

The rest look amazing. All of which Matt said way more succinctly.

Copy link
Contributor

@MattPereira MattPereira left a comment

Choose a reason for hiding this comment

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

I completely agree with @blulady 's argument that your changes look better than the live site for the small to medium responsive views. Furthermore, you did a great job communicating with the team, asking for help, and fine tuning your solution.

Amazing work on this issue @michaelmagen ! 👍

@MattPereira MattPereira merged commit 2bcbe41 into hackforla:gh-pages Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Medium Feature: Accessibility Issues that would broaden website accessibility Feature: Refactor HTML P-Feature: Toolkit https://www.hackforla.org/toolkit/ role: front end Tasks for front end developers size: 2pt Can be done in 7-12 hours
Projects
Development

Successfully merging this pull request may close these issues.

Toolkit page: Make the Guides section cards' SVGs WCAG compliant
5 participants