GSA / digitalgov.gov

Digital.gov: Better websites. Better government.
https://digital.gov
Other
214 stars 297 forks source link

Fix content errors to pass HTMLproofer #3044

Open saracope opened 3 years ago

saracope commented 3 years ago

We recently added HTMLproofer and it's identified a ton of things to clean up. Pulling those into this issue to chug through them. Please check off/comment when you implement one of the fixes!

To Do:

^ (line 669)

^ (line 669)

For more about DAP and how your agrency website can participate, visit .

                                                                          ^ (line 310)

For more about DAP and how your agrency website can participate, visit .

                                                                          ^ (line 310)

For more about DAP and how your agrency website can participate, visit .

                                                                                   ^ (line 310)

Learn more about the Digital Analytics Program at:

                                                  ^ (line 334)

Learn more about the Digital Analytics Program at:

                                                  ^ (line 334)

Learn more about the Digital Analytics Program at:

                                                           ^ (line 334)

^ (line 779)

^ (line 779)

A long time ago in a federal agency building far, far away on F Street… the `Great Federal Mobile Product Hunt` DigitalGov Citizen Services Summit` in Washington, DC. The campaign goal has not waivered from the initial launch because the `USA.gov Mobile Apps Directory` remains incomplete. The Directory is the authoritative source for federal mobile Web products, and federal agencies that do not have their apps registered here are losing out on valuable promotional opportunities on `USA.gov` and DigitalGov](/topics/thursday-mobile-products/). The hunt for the apps yet to be added to the Directory, henceforth labeled as #lostapps, is alive and well with the `National Oceanic and Atmospheric Administration (NOAA)` taking the lead at Day 100.

                                                                                                                                                                                                                    ^ (line 303)
  • [x] - ./public/2015/10/20/5-factors-for-building-a-successful-government-wide-digital-analytics-program/index.html

    • linking to internal hash #part-7.md that does not exist (line 0)

      <a href="/guides/dap/common-questions-about-dap/#part-7.md">set of rules<a/>

  • [x] - ./public/2016/07/25/the-content-corner-quality-over-quantity-a-case-for-long-form-content/index.html

    • internally linking to (/topics/metrics/), which does not exist (line 0)

      <a href="(/topics/metrics/)">website analytics<a/>

  • [x] - ./public/2016/07/29/whats-all-the-fuss-around-customer-experience/index.html

    • linking to internal hash #Collaboration.md that does not exist (line 0)

      <a href="/resources/customer-experience-toolkit/#Collaboration.md">Collaboration<a/>

    • linking to internal hash #Culture.md that does not exist (line 0)

      <a href="/resources/customer-experience-toolkit/#Culture.md">Culture<a/>

    • linking to internal hash #Customer-Understanding.md that does not exist (line 0)

      <a href="/resources/customer-experience-toolkit/#Customer-Understanding.md">Customer Understanding<a/>

    • linking to internal hash #Design.md that does not exist (line 0)

      <a href="/resources/customer-experience-toolkit/#Design.md">Design<a/>

    • linking to internal hash #Digital-Services.md that does not exist (line 0)

      <a href="/resources/customer-experience-toolkit/#Digital-Services.md">Digital Services<a/>

    • linking to internal hash #Governance.md that does not exist (line 0)

      <a href="/resources/customer-experience-toolkit/#Governance.md">Governance<a/>

    • linking to internal hash #Measurement.md that does not exist (line 0)

      <a href="/resources/customer-experience-toolkit/#Measurement.md">Measurement<a/>

    • linking to internal hash #Strategy.md that does not exist (line 0)

      <a href="/resources/customer-experience-toolkit/#Strategy.md">Strategy<a/>

  • [x] - ./public/2016/09/07/lets-encrypt-those-cnames-shall-we/index.html

    • 384:19: ERROR: Unexpected '/' in tag.


ProxyPass `
http://lets-encrypt.infr.search.usa.gov/.well-known/acme-challenge/`
Require all granted

              ^ (line 384)
  • 384:31: ERROR: Unexpected '/' in tag.


ProxyPass `
http://lets-encrypt.infr.search.usa.gov/.well-known/acme-challenge/`
Require all granted

                          ^ (line 384)
  • 384:8: ERROR: Start tag of nonvoid HTML element ends with '/>', use '>'.


ProxyPass `
http://lets-encrypt.infr.search.usa.gov/.well-known/acme-challenge/`
Require all granted

   ^ (line 384)

# Disable for IE < 6 because there are some known problems

                  ^ (line 409)

government-customer-service-policies-requirements-1993-to-present/, which does not exist (line 0)

 `<a href="/resources/

government-customer-service-policies-requirements-1993-to-present/">Government Customer Service Policies and Requirements`

htmlproofer 3.15.3 | Error: HTML-Proofer found 130 failures!

Done - [x] - ./public/2012/11/30/socialgov-summit-highlights-accessibility-challenges/index.html * internally linking to www.noaa.gov, which does not exist (line 0) `National Oceanic and Atmospheric Administration` - [x] - ./public/2013/04/30/apis-in-government/index.html * linking to internal hash #api-education-series.md that does not exist (line 0) `API Education Series` * linking to internal hash #api-standards-template.md that does not exist (line 0) `API Standards Template` * linking to internal hash #assemble-components.md that does not exist (line 0) `assembling the components` * linking to internal hash #audit.md that does not exist (line 0) `auditing APIs` * linking to internal hash #case-studies.md that does not exist (line 0) `Case Studies` * linking to internal hash #common-technical-choices.md that does not exist (line 0) `API technical choices` * linking to internal hash #examples-apis-government.md that does not exist (line 0) `Examples of APIs in Government` * linking to internal hash #government-api-listserv.md that does not exist (line 0) `U.S. Government APIs Listserv` * linking to internal hash #hosted-api-tools.md that does not exist (line 0) `Hosted API Tools` * linking to internal hash #how-to-make-apis-overview.md that does not exist (line 0) `How to Make APIs—An Overview` * linking to internal hash #implement.md that does not exist (line 0) `implementing the API` * linking to internal hash #recommended-reading.md that does not exist (line 0) `Recommended Reading` - [x] - ./public/2013/05/30/social-securitys-mobile-website/index.html * internally linking to www.socialsecurity.gov, which does not exist (line 0) `socialsecurity.gov` - [x] - ./public/2013/07/25/understanding-your-customer/index.html * internally linking to ((/topics/metrics/), which does not exist (line 0) `analytics` - [x] - ./public/2013/09/12/mobile-products-for-national-preparedness-month/index.html * internally linking to www.fema.gov, which does not exist (line 0) `FEMA` - [x] - ./public/2013/10/30/content-management-systems-toolkit/index.html * internally linking to (/topics/metrics/), which does not exist (line 0) `Examine your metrics` - [x] - ./public/2013/12/10/trends-on-tuesday-mobile-gaming-habits/index.html * internally linking to /2013/10/31/new-outbreaks-but-no-zombies-on-cdcs-solve-the-outbreak/ "New Outbreaks (but No Zombies, which does not exist (line 0) `CDC’s Solve the Outbreak` - [x] - ./public/2013/12/31/trends-on-tuesday-federal-agency-mobile-gov-trends-in-2013/index.html * internally linking to /2013/10/31/new-outbreaks-but-no-zombies-on-cdcs-solve-the-outbreak/ "New Outbreaks (but No Zombies, which does not exist (line 0) `new outbreaks to their Solve the Outbreak app` - [x] - ./public/2014/02/26/double-digit-crowdsourcing-competitions-launch-in-february/index.html * internally linking to /events/2014-03/, which does not exist (line 0) `training and events` - [x] - ./public/2014/02/26/open-for-innovation-in-digitalgov/index.html * internally linking to /topics/code/data1/, which does not exist (line 0) `data` - [x] - ./public/2014/03/04/trends-on-tuesday-global-mobile-data-traffic-nearly-doubles-in-2013/index.html * internally linking to FIND?s=mobile+first.md, which does not exist (line 0) `mobile first strategy`
saracope commented 3 years ago

Moved the items @danielimmke fixed to the Done dropdown. Thanks!