uswds / uswds-site

USWDS website and documentation
https://designsystem.digital.gov
Other
183 stars 140 forks source link

USWDS-Site - Links: Update broken CDC links #2692

Closed mahoneycm closed 1 month ago

mahoneycm commented 1 month ago

Summary

Replaced broken CDC links due.

[!IMPORTANT] The following two links are temporary snapshots of pages that don’t exist anymore. They will be taken down after November 2024.

I have reached out to dcm@cdc.gov to ask for more a more permanent replacement

Related issue

Closes #2686

Preview link

Problem statement

The CDC recently updated their site which caused older links to break. HTMLProofer caught the related 404 errors.

Solution

Replace links with their updated counterparts where available. Add temporary snapshot links to removed content for the links that are not

Testing and review

Confirm link replacements are appropriate

Page name Original link (Web archive) Replacement link
Sun safety https://www.cdc.gov/cancer/skin/basic_info/sun-safety.htm https://www.cdc.gov/skin-cancer/sun-safety/
Collecting Sexual Orientation and Gender Identity Information https://www.cdc.gov/hiv/clinicians/transforming-health/health-care-providers/collecting-sexual-orientation.html https://snapshot2024.cdc.gov/hiv/clinicians/transforming-health/health-care-providers/collecting-sexual-orientation.html
Patient-Centered Care for Transgender People: Recommended Practices for Health Care Settings https://www.cdc.gov/hiv/clinicians/transforming-health/health-care-providers/affirmative-care.html https://snapshot2024.cdc.gov/hiv/clinicians/transforming-health/health-care-providers/affirmative-care.html

Confirm new links work

  1. Visit the following pages and verify links are working as expected.
    1. Link component page - CDC Sun care links
    2. Inclusive design patterns findings citations - CDC snapshot links in sitations
    3. Gender identity and sex
      1. HIV Nexus Clinician Resources link
      2. Collecting sexual orientation and gender identity information resource link
      3. Patient centered care for transgender people: recommended practices for health care settings resource link
  2. Confirm there are no HMTL Proofer errors
mahoneycm commented 1 month ago

@amyleadem Hmm I haven't been able to reproduce yet. If it's 301 then we should probably update the link to point to its permanent address.

It also looks like as of this morning uxpro.cc is down and causing an additional 404 error on the phone number patterns page. Hopefully this is a temporary outage but I'll keep my eye on it 🧐

thisisdano commented 1 month ago

Merging over pa11y crash