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 some resource PDFs a11y friendly #402

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Conversation

allejo
Copy link
Contributor

@allejo allejo commented Aug 29, 2024

Closes #399

@allejo allejo requested a review from a team as a code owner August 29, 2024 06:21
Copy link

netlify bot commented Aug 29, 2024

Deploy Preview for cal-itp-website ready!

Name Link
🔨 Latest commit 6c97915
🔍 Latest deploy log https://app.netlify.com/sites/cal-itp-website/deploys/66d0135765a7fe0008f9faf0
😎 Deploy Preview https://deploy-preview-402--cal-itp-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

asset: "Cal-ITP.Transit.Draft.Guidelines.Draft.3.Feedback.pdf"
asset: "Cal-ITP.Transit.Draft.Guidelines.Feedback.pdf"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mrose914 is this change okay? The updated file you gave me had the updated name without the extra Draft.3 so I kept that name. Just to let you know, if this PDF has been linked to by another site or page, this name change could break those links.

Copy link
Member

Choose a reason for hiding this comment

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

I checked on Google Search Console and other backlinks checkers to see if there are any websites that link to https://www.calitp.org/assets/Cal-ITP.Transit.Draft.Guidelines.Draft.3.Feedback.pdf. Then, I checked in the Cal-ITP Slack to see if this URL is linked or referenced there -- no references. So I feel comfortable changing this link.

In an ideal future scenarios, we should reject URL filenames with Draft in them.

Copy link
Member

@thekaveman thekaveman Sep 3, 2024

Choose a reason for hiding this comment

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

Wait @machikoyasuda @allejo I think this was incorrect, or at least wasn't finished all the way.

This links to a deck on Cal-ITP's work on the Draft v3 Transit Data Guidelines (e.g. the working version of v3 when it was in-progress but v2 was still current). This deck is highlighting feedback Cal-ITP took during the development of this v3 update.

In any case, Draft is still in the file name (in a place that makes even less sense than the one that was deleted), but now we lost the 3 version number.

Copy link
Member

Choose a reason for hiding this comment

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

Ooooh... oops. It looks like we are waiting on GDrive access to this PDF still?

Copy link
Member

Choose a reason for hiding this comment

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

Wait. No. I see we do have the PDF here now: https://github.com/cal-itp/calitp.org/blob/6c97915c3d49326746d0bf04e2d77a60c967e0ca/src/assets/Cal-ITP.Transit.Draft.Guidelines.Feedback.pdf

I see the PDF itself has the title: CA Transit Data Guidlines Draft v3.0 Feedback, so it seems to me like that would be the best URL slug?

Copy link
Member

Choose a reason for hiding this comment

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

Will make a new issue and PR to fix

@thekaveman
Copy link
Member

Sorry @allejo, I didn't realize @machikoyasuda wasn't part of the web-review team and this PR only asked for its review.

@machikoyasuda I added you to that team now. This team was originally set up so @mrose914 could approve simple content changes for go-live without an engineer.

@machikoyasuda machikoyasuda merged commit 5eb1ec8 into main Sep 3, 2024
6 checks passed
@machikoyasuda machikoyasuda deleted the chore/pdf-refresh branch September 3, 2024 19:03
@mrose914
Copy link

mrose914 commented Sep 3, 2024

Sorry to jump in late here - I think I changed the file settings so they are accessible to all. Lmk if you need my review on anything

@machikoyasuda
Copy link
Member

Update: All fixed in this PR #405 - Thanks @mrose914 @allejo @thekaveman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace PDFs with accessibility-refreshed versions
4 participants