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

Fix content errors to pass HTMLproofer #3044

Open
75 of 76 tasks
saracope opened this issue Jul 22, 2020 · 1 comment
Open
75 of 76 tasks

Fix content errors to pass HTMLproofer #3044

saracope opened this issue Jul 22, 2020 · 1 comment

Comments

@saracope
Copy link
Contributor

saracope commented Jul 22, 2020

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:

  • - ./public/2014/03/28/plain-language-page-titles-more-important-than-ever/index.html

    • 669:1: ERROR: Premature end of file Currently open tags: html, body, div, main, article, section, div, div, div, div, p, title.

^ (line 669)

  • 669:1: ERROR: Premature end of file Currently open tags: html, body, div, main, article, section, div, div, div, div, p.

^ (line 669)

  • - ./public/2014/04/01/digital-analytics-program-dap-oceans-of-data/index.html

    • 310:79: ERROR: End tag contains attributes.

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

                                                                          ^ (line 310)
  • 310:79: ERROR: End tag ends with '/>', use '>'.

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

                                                                          ^ (line 310)
  • 310:88: ERROR: Unexpected '/' in tag.

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

                                                                                   ^ (line 310)
  • - ./public/2014/05/19/sign-up-for-digitalgov-citizen-services-summit-friday-may-30/index.html

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

      <a href="/topics/code/data1/">data<a/>

  • - ./public/2014/06/03/harnessing-the-power-of-many-digitalgov-summit-panels-recap/index.html

    • internally linking to FIND?s=alison+lemon.md, which does not exist (line 0)

      <a href="FIND?s=alison+lemon.md">Knowledge Manager for the SocialGov Community<a/>

  • - ./public/2014/09/12/digitalgov-gov-six-months-later/index.html

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

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

  • - ./public/2014/11/04/a-picture-is-worth-a-thousand-tokens-part-ii/index.html

    • 399:25: ERROR: Invalid first character of tag name ''.

       "post_tag": "<\/strong>"
      
                     ^ (line 399)
      
  • - ./public/2014/11/07/welcome-to-user-experience-month/index.html

    • internally linking to /2014/07/07/user-experience-ux-vs-customer-experience-cx-whats-the-dif/ "User Experience (UX, which does not exist (line 0)

      <a href="/2014/07/07/user-experience-ux-vs-customer-experience-cx-whats-the-dif/ &quot;User Experience (UX">Customer Experience<a/>

  • - ./public/2014/12/23/challenges-round-up/index.html

    • internally linking to /events/. For questions about Challenge.gov or the [Challenge & Prize Community of Practice](/communities/challenges-prizes/, which does not exist (line 0)

      <a href="/events/. For questions about Challenge.gov or the [Challenge &amp; Prize Community of Practice](/communities/challenges-prizes/" title="Challenges &amp; Prizes Community">Events Calendar<a/>

  • - ./public/2015/02/24/digital-analytics-program-among-finalists-for-igniting-innovation-award/index.html

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

      <a href="(/topics/metrics/)">articles<a/>

  • - ./public/2015/03/12/the-new-fedramp-gov-is-here/index.html

  • - ./public/2015/03/19/turning-government-data-into-better-public-service/index.html

    • 334:55: ERROR: End tag contains attributes.

Learn more about the Digital Analytics Program at:

                                                  ^ (line 334)
  • 334:55: ERROR: End tag ends with '/>', use '>'.

Learn more about the Digital Analytics Program at:

                                                  ^ (line 334)
  • 334:64: ERROR: Unexpected '/' in tag.

Learn more about the Digital Analytics Program at:

                                                           ^ (line 334)
  • - ./public/2015/06/03/taking-the-pulse-of-the-federal-governments-web-presence/index.html

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

      <a href="/guides/dap/common-questions-about-dap/#part-4.md">privacy controls<a/>

  • - ./public/2015/09/02/https-and-other-ranking-factors-what-impacts-the-seo-of-government-websites/index.html

    • 779:1: ERROR: Premature end of file Currently open tags: html, body, div, main, article, section, div, div, div, div, ul, h2, title.

^ (line 779)

  • 779:1: ERROR: Premature end of file Currently open tags: html, body, div, main, article, section, div, div, div, div, ul, h2.

^ (line 779)

  • - ./public/2015/09/10/day-100-the-great-federal-mobile-product-hunt/index.html

    • 303:217: ERROR: Unexpected character (<) in attribute name.

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)
  • - ./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/>

  • - ./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/>

  • - ./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/>

  • - ./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)
  • - ./public/2016/10/21/dear-search-reading-between-the-lines-of-search-data/index.html

  • - ./public/2016/11/18/digging-deep-using-the-core-model/index.html

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

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

  • - ./public/2016/11/28/gsa-presents-grace-hopper-day-hackathon/index.html

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

      <a href="/topics/code/data1/"><em>data</em><a/>

  • - ./public/2016/12/01/lessons-learned-evaluating-video-content/index.html

    • linking to internal hash #guidelines that does not exist (line 0)

      <a href="/about/contribute/#guidelines">review our guidelines<a/>

  • - ./public/2017/05/15/webinar-recap-measuring-your-mobile-users/index.html

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

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

  • - ./public/2017/05/22/how-facebook-live-increased-reach-and-engagement-of-scientific-lectures-at-nih/index.html

    • linking to internal hash #r1 that does not exist (line 0)

      <a href="#r1">[1]<a/>

  • - ./public/2017/06/21/the-data-briefing-the-arrival-of-generation-z-into-the-federal-government-and-generation-a/index.html

  • - ./public/2017/09/11/cfpb-serves-up-financial-tips-to-seniors/index.html

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

      <a href="###">Erin Scheithe<a/>

  • - ./public/2017/09/12/usa-gov-and-gobiernousa-gov-measure-content-efficiency-with-new-kpi-metric/index.html

  • - ./public/2018/11/02/health-tech-sprint-aims-at-improving-care-access-experience/index.html

  • - ./public/404.html

    • internally linking to /404.htmlindex.json, which does not exist (line 0)

  • - ./public/authors/freddie-blicher/index.html

  • - ./public/authors/freddie-blicher/page/2/index.html

  • - ./public/authors/index.html

    • internally linking to /authors/index.json, which does not exist (line 0)

  • - ./public/authors/jeremyzilar/page/2/index.html

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)

  • - ./public/event/2018/06/08/funding-future-technology-modernization-fund-proposal-workshop/index.html

  • - ./public/event/2018/10/30/fedramps-resources-for-csps/index.html

  • - ./public/event/2018/11/06/fedramps-resources-for-agencies/index.html

  • - ./public/event/2018/11/14/fedramp-updates-3pao-requirements/index.html

  • - ./public/event/2018/11/15/fedramps-resources-for-3paos/index.html

  • - ./public/event/2019/05/23/dap-learning-series-using-analytics-usa-gov-api/index.html

    • internally linking to analytics.usa.gov, which does not exist (line 0)

      <a href="analytics.usa.gov">analytics.usa.gov<a/>

  • - ./public/event/2020/07/16/women-in-federal-it-cyber/index.html

    • CIOC%20Website%20%20https://www.cio.gov/ is an invalid URL (line 0)

      <a href="CIOC%20Website%20%20https://www.cio.gov/">CIOC Website<a/>

  • - ./public/guides/mobile-principles/optimize-minify-compression/index.html

    • 409:23: ERROR: Invalid first character of tag name ' '.

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

                  ^ (line 409)
  • - ./public/news/page/10/index.html

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)
  • - ./public/news/page/11/index.html

    • internal image /logos/gov-uk-logo.png does not exist (line 0)
  • - ./public/news/page/9/index.html

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)

  • - ./public/resources/agency-points-of-contact-for-federal-compatible-terms-of-service-agreements/index.html

  • - ./public/resources/checklist-of-requirements-for-federal-digital-services/index.html

    • internally linking to /resources/

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`

  • - ./public/resources/contact-center-guidelines/contact-center-technologies/index.html

    • internally linking to www.usa.gov/chat, which does not exist (line 0)

      <a href="www.usa.gov/chat" title="Answers dot USA dot gov &quot;Chat With Us&quot; page">Answers.USA.gov<a/>

  • - ./public/resources/customer-experience-toolkit/index.html

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

      <a href="#Collaboration" title="Collaboration">Collaboration<a/>

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

      <a href="#Culture" title="Culture">Culture<a/>

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

      <a href="#Customer-Understanding" title="Customer Understanding">Customer Understanding<a/>

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

      <a href="#Design" title="Design">Design<a/>

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

      <a href="#Digital-Services" title="Digital Services">Digital Services<a/>

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

      <a href="#Governance" title="Governance">Governance<a/>

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

      <a href="#Measurement" title="Measurement">Measurement<a/>

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

      <a href="#Strategy" title="Strategy">Strategy<a/>

  • - ./public/resources/how-to-get-your-open-data-on-data-gov/index.html

    • linking to internal hash #faq-data that does not exist (line 0)

      <a href="#faq-data">Federal Data with Project Open Data<a/>

    • linking to internal hash #faq-general that does not exist (line 0)

      <a href="#faq-general">General<a/>

    • linking to internal hash #faq-geospatial that does not exist (line 0)

      <a href="#faq-geospatial">Federal Geospatial<a/>

    • linking to internal hash #faq-non-federal that does not exist (line 0)

      <a href="#faq-non-federal">Non-federal<a/>

  • - ./public/resources/improving-the-accessibility-of-social-media-in-government/index.html

    • linking to internal hash #accessibility that does not exist (line 0)

      <a href="#accessibility">Why Is The Accessibility Of Social Media So Important?<a/>

    • linking to internal hash #developed that does not exist (line 0)

      <a href="#developed">Who Developed This Toolkit?<a/>

  • - ./public/resources/inventory-data-gov-guide/index.html

    • linking to internal hash #add-dataset that does not exist (line 0)

      <a href="#add-dataset">Adding a Dataset<a/>

    • linking to internal hash #automating-data-json-downloads that does not exist (line 0)

      <a href="#automating-data-json-downloads">Automating data.json downloads by agencies<a/>

    • linking to internal hash #creating-user-account that does not exist (line 0)

      <a href="#creating-user-account">Creating a User Account<a/>

    • linking to internal hash #export-data-json that does not exist (line 0)

      <a href="#export-data-json">Exporting Data.json<a/>

    • linking to internal hash #manage-datasets that does not exist (line 0)

      <a href="#manage-datasets">Using inventory.data.gov to manage datasets<a/>

    • linking to internal hash #webinar that does not exist (line 0)

      <a href="#webinar">Webinar on inventory.data.gov<a/>

  • - ./public/resources/negotiated-terms-of-service-agreements/index.html

    • internally linking to null, which does not exist (line 0)

      <a href="null" title="GitHub"><i class="fas fa-file-pdf"></i> <span>Site</span><a/>

  • - ./public/resources/required-web-content-and-links/index.html

    • internally linking to www.usda.gov, which does not exist (line 0)

      <a href="www.usda.gov">www.usda.gov<a/>

  • - ./public/topics/challenges/index.html

    • internally linking to %3cnil%3e?dg, which does not exist (line 0)

      `

       icon

      `

    • internally linking to %3cnil%3e?dg, which does not exist (line 0)

      `

       <span>Challenge.gov</span>
      

      `

  • - ./public/topics/content-strategy/index.html

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)

    • internally linking to %3cnil%3e?dg, which does not exist (line 0)

      `

       icon

      `

    • internally linking to %3cnil%3e?dg, which does not exist (line 0)

      `

       <span>Go.USA.gov</span>
      

      `

  • - ./public/topics/content/page/2/index.html

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)
  • ./public/topics/design/page/3/index.html

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)
  • - ./public/topics/index.html

    • internally linking to /topics/index.json, which does not exist (line 0)

  • - ./public/topics/innovation/index.html

    • internally linking to %3cnil%3e?dg, which does not exist (line 0)

      `

       icon

      `

    • internally linking to %3cnil%3e?dg, which does not exist (line 0)

      `

       <span>Challenge.gov</span>
      

      `

  • - ./public/topics/product-management/page/3/index.html

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)

  • - ./public/topics/product-management/page/4/index.html

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)
  • - ./public/topics/project-management/index.html

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)
  • - ./public/topics/social-media/index.html

    • internally linking to %3cnil%3e?dg, which does not exist (line 0)

      `

       icon

      `

    • internally linking to %3cnil%3e?dg, which does not exist (line 0)

      `

       <span>Go.USA.gov</span>
      

      `

  • - ./public/topics/strategy/index.html

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)
  • - ./public/topics/user-experience/page/2/index.html

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)
  • - ./public/topics/ux/page/2/index.html

    • internal image /logos/doi-revenuedata-logo.png does not exist (line 0)

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

Done
  • - ./public/2012/11/30/socialgov-summit-highlights-accessibility-challenges/index.html

    • internally linking to www.noaa.gov, which does not exist (line 0)

    <a href="www.noaa.gov" target="_blank">National Oceanic and Atmospheric Administration<a/>

  • - ./public/2013/04/30/apis-in-government/index.html

    • linking to internal hash #api-education-series.md that does not exist (line 0)

      <a href="/2013/03/12/resources-and-tools-for-apis/#api-education-series.md">API Education Series<a/>

    • linking to internal hash #api-standards-template.md that does not exist (line 0)

      <a href="/2013/03/12/resources-and-tools-for-apis/#api-standards-template.md">API Standards Template<a/>

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

      <a href="/2013/03/12/how-to-get-started-with-apis/#assemble-components.md" title="How to Get Started with APIs">assembling the components<a/>

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

      <a href="/2013/03/12/how-to-get-started-with-apis/#audit.md" title="How to Get Started with APIs">auditing APIs<a/>

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

      <a href="/2013/03/12/resources-and-tools-for-apis/#case-studies.md">Case Studies<a/>

    • linking to internal hash #common-technical-choices.md that does not exist (line 0)

      <a href="/2013/03/12/api-basics/#common-technical-choices.md" title="API Basics">API technical choices<a/>

    • linking to internal hash #examples-apis-government.md that does not exist (line 0)

      <a href="/2013/03/12/resources-and-tools-for-apis/#examples-apis-government.md">Examples of APIs in Government<a/>

    • linking to internal hash #government-api-listserv.md that does not exist (line 0)

      <a href="/2013/03/12/resources-and-tools-for-apis/#government-api-listserv.md">U.S. Government APIs Listserv<a/>

    • linking to internal hash #hosted-api-tools.md that does not exist (line 0)

      <a href="/2013/03/12/resources-and-tools-for-apis/#hosted-api-tools.md">Hosted API Tools<a/>

    • linking to internal hash #how-to-make-apis-overview.md that does not exist (line 0)

      <a href="/2013/03/12/resources-and-tools-for-apis/#how-to-make-apis-overview.md">How to Make APIs—An Overview<a/>

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

      <a href="/2013/03/12/how-to-get-started-with-apis/#implement.md" title="How to Get Started with APIs">implementing the API<a/>

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

      <a href="/2013/03/12/resources-and-tools-for-apis/#recommended-reading.md">Recommended Reading<a/>

  • - ./public/2013/05/30/social-securitys-mobile-website/index.html

    • internally linking to www.socialsecurity.gov, which does not exist (line 0)

      <a href="www.socialsecurity.gov">socialsecurity.gov<a/>

  • - ./public/2013/07/25/understanding-your-customer/index.html

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

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

  • - ./public/2013/09/12/mobile-products-for-national-preparedness-month/index.html

    • internally linking to www.fema.gov, which does not exist (line 0)

    <a href="www.fema.gov">FEMA<a/>

  • - ./public/2013/10/30/content-management-systems-toolkit/index.html

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

    <a href="(/topics/metrics/)">Examine your metrics<a/>

  • - ./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)

      <a href="/2013/10/31/new-outbreaks-but-no-zombies-on-cdcs-solve-the-outbreak/ &quot;New Outbreaks (but No Zombies">CDC’s Solve the Outbreak<a/>

  • - ./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)

      <a href="/2013/10/31/new-outbreaks-but-no-zombies-on-cdcs-solve-the-outbreak/ &quot;New Outbreaks (but No Zombies">new outbreaks to their Solve the Outbreak app<a/>

  • - ./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)

      <a href="/events/2014-03/">training and events<a/>

  • - ./public/2014/02/26/open-for-innovation-in-digitalgov/index.html

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

      <a href="/topics/code/data1/">data<a/>

  • - ./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)

      <a href="FIND?s=mobile+first.md">mobile first strategy<a/>

@saracope
Copy link
Contributor Author

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

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

No branches or pull requests

1 participant