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

Evaluation failed: TypeError: Cannot read property 'nodeName' of null #279

Closed
mrinsin opened this issue Apr 9, 2020 · 2 comments
Closed
Labels

Comments

@mrinsin
Copy link

mrinsin commented Apr 9, 2020

Running the test results in this failure:

image

What changed :

Updated dependency in package lock - html-codesniffer to 2.5.0 from 2.4.1

Steps to reproduce:

Pasted source code in https://squizlabs.github.io/HTML_CodeSniffer and ran the codesniffer on WCAG 2.1 Level AAA, WCAG 2.1 Level AA and WCAG 2.1 Level A, and the codesniffer never completed running reports.

Source code:

<html lang="en"><head><meta charset="utf-8"><meta built="Thu, Apr 9, 2020, 1:46 PM EST"><meta revision=""><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Docket 104-19 | Petition | U.S. Tax Court</title><style type="text/css">svg:not(:root).svg-inline--fa {
  overflow: visible;
}

.svg-inline--fa {
  display: inline-block;
  font-size: inherit;
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
}
.svg-inline--fa.fa-lg {
  vertical-align: -0.225em;
}
.svg-inline--fa.fa-w-1 {
  width: 0.0625em;
}
.svg-inline--fa.fa-w-2 {
  width: 0.125em;
}
.svg-inline--fa.fa-w-3 {
  width: 0.1875em;
}
.svg-inline--fa.fa-w-4 {
  width: 0.25em;
}
.svg-inline--fa.fa-w-5 {
  width: 0.3125em;
}
.svg-inline--fa.fa-w-6 {
  width: 0.375em;
}
.svg-inline--fa.fa-w-7 {
  width: 0.4375em;
}
.svg-inline--fa.fa-w-8 {
  width: 0.5em;
}
.svg-inline--fa.fa-w-9 {
  width: 0.5625em;
}
.svg-inline--fa.fa-w-10 {
  width: 0.625em;
}
.svg-inline--fa.fa-w-11 {
  width: 0.6875em;
}
.svg-inline--fa.fa-w-12 {
  width: 0.75em;
}
.svg-inline--fa.fa-w-13 {
  width: 0.8125em;
}
.svg-inline--fa.fa-w-14 {
  width: 0.875em;
}
.svg-inline--fa.fa-w-15 {
  width: 0.9375em;
}
.svg-inline--fa.fa-w-16 {
  width: 1em;
}
.svg-inline--fa.fa-w-17 {
  width: 1.0625em;
}
.svg-inline--fa.fa-w-18 {
  width: 1.125em;
}
.svg-inline--fa.fa-w-19 {
  width: 1.1875em;
}
.svg-inline--fa.fa-w-20 {
  width: 1.25em;
}
.svg-inline--fa.fa-pull-left {
  margin-right: 0.3em;
  width: auto;
}
.svg-inline--fa.fa-pull-right {
  margin-left: 0.3em;
  width: auto;
}
.svg-inline--fa.fa-border {
  height: 1.5em;
}
.svg-inline--fa.fa-li {
  width: 2em;
}
.svg-inline--fa.fa-fw {
  width: 1.25em;
}

.fa-layers svg.svg-inline--fa {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
}

.fa-layers {
  display: inline-block;
  height: 1em;
  position: relative;
  text-align: center;
  vertical-align: -0.125em;
  width: 1em;
}
.fa-layers svg.svg-inline--fa {
  -webkit-transform-origin: center center;
          transform-origin: center center;
}

.fa-layers-counter, .fa-layers-text {
  display: inline-block;
  position: absolute;
  text-align: center;
}

.fa-layers-text {
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transform-origin: center center;
          transform-origin: center center;
}

.fa-layers-counter {
  background-color: #ff253a;
  border-radius: 1em;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #fff;
  height: 1.5em;
  line-height: 1;
  max-width: 5em;
  min-width: 1.5em;
  overflow: hidden;
  padding: 0.25em;
  right: 0;
  text-overflow: ellipsis;
  top: 0;
  -webkit-transform: scale(0.25);
          transform: scale(0.25);
  -webkit-transform-origin: top right;
          transform-origin: top right;
}

.fa-layers-bottom-right {
  bottom: 0;
  right: 0;
  top: auto;
  -webkit-transform: scale(0.25);
          transform: scale(0.25);
  -webkit-transform-origin: bottom right;
          transform-origin: bottom right;
}

.fa-layers-bottom-left {
  bottom: 0;
  left: 0;
  right: auto;
  top: auto;
  -webkit-transform: scale(0.25);
          transform: scale(0.25);
  -webkit-transform-origin: bottom left;
          transform-origin: bottom left;
}

.fa-layers-top-right {
  right: 0;
  top: 0;
  -webkit-transform: scale(0.25);
          transform: scale(0.25);
  -webkit-transform-origin: top right;
          transform-origin: top right;
}

.fa-layers-top-left {
  left: 0;
  right: auto;
  top: 0;
  -webkit-transform: scale(0.25);
          transform: scale(0.25);
  -webkit-transform-origin: top left;
          transform-origin: top left;
}

.fa-lg {
  font-size: 1.3333333333em;
  line-height: 0.75em;
  vertical-align: -0.0667em;
}

.fa-xs {
  font-size: 0.75em;
}

.fa-sm {
  font-size: 0.875em;
}

.fa-1x {
  font-size: 1em;
}

.fa-2x {
  font-size: 2em;
}

.fa-3x {
  font-size: 3em;
}

.fa-4x {
  font-size: 4em;
}

.fa-5x {
  font-size: 5em;
}

.fa-6x {
  font-size: 6em;
}

.fa-7x {
  font-size: 7em;
}

.fa-8x {
  font-size: 8em;
}

.fa-9x {
  font-size: 9em;
}

.fa-10x {
  font-size: 10em;
}

.fa-fw {
  text-align: center;
  width: 1.25em;
}

.fa-ul {
  list-style-type: none;
  margin-left: 2.5em;
  padding-left: 0;
}
.fa-ul > li {
  position: relative;
}

.fa-li {
  left: -2em;
  position: absolute;
  text-align: center;
  width: 2em;
  line-height: inherit;
}

.fa-border {
  border: solid 0.08em #eee;
  border-radius: 0.1em;
  padding: 0.2em 0.25em 0.15em;
}

.fa-pull-left {
  float: left;
}

.fa-pull-right {
  float: right;
}

.fa.fa-pull-left,
.fas.fa-pull-left,
.far.fa-pull-left,
.fal.fa-pull-left,
.fab.fa-pull-left {
  margin-right: 0.3em;
}
.fa.fa-pull-right,
.fas.fa-pull-right,
.far.fa-pull-right,
.fal.fa-pull-right,
.fab.fa-pull-right {
  margin-left: 0.3em;
}

.fa-spin {
  -webkit-animation: fa-spin 2s infinite linear;
          animation: fa-spin 2s infinite linear;
}

.fa-pulse {
  -webkit-animation: fa-spin 1s infinite steps(8);
          animation: fa-spin 1s infinite steps(8);
}

@-webkit-keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.fa-rotate-90 {
  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.fa-rotate-180 {
  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.fa-rotate-270 {
  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
  -webkit-transform: rotate(270deg);
          transform: rotate(270deg);
}

.fa-flip-horizontal {
  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
  -webkit-transform: scale(-1, 1);
          transform: scale(-1, 1);
}

.fa-flip-vertical {
  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
  -webkit-transform: scale(1, -1);
          transform: scale(1, -1);
}

.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {
  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
  -webkit-transform: scale(-1, -1);
          transform: scale(-1, -1);
}

:root .fa-rotate-90,
:root .fa-rotate-180,
:root .fa-rotate-270,
:root .fa-flip-horizontal,
:root .fa-flip-vertical,
:root .fa-flip-both {
  -webkit-filter: none;
          filter: none;
}

.fa-stack {
  display: inline-block;
  height: 2em;
  position: relative;
  width: 2.5em;
}

.fa-stack-1x,
.fa-stack-2x {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
}

.svg-inline--fa.fa-stack-1x {
  height: 1em;
  width: 1.25em;
}
.svg-inline--fa.fa-stack-2x {
  height: 2em;
  width: 2.5em;
}

.fa-inverse {
  color: #fff;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.sr-only-focusable:active, .sr-only-focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.svg-inline--fa .fa-primary {
  fill: var(--fa-primary-color, currentColor);
  opacity: 1;
  opacity: var(--fa-primary-opacity, 1);
}

.svg-inline--fa .fa-secondary {
  fill: var(--fa-secondary-color, currentColor);
  opacity: 0.4;
  opacity: var(--fa-secondary-opacity, 0.4);
}

.svg-inline--fa.fa-swap-opacity .fa-primary {
  opacity: 0.4;
  opacity: var(--fa-secondary-opacity, 0.4);
}

.svg-inline--fa.fa-swap-opacity .fa-secondary {
  opacity: 1;
  opacity: var(--fa-primary-opacity, 1);
}

.svg-inline--fa mask .fa-primary,
.svg-inline--fa mask .fa-secondary {
  fill: black;
}

.fad.fa-inverse {
  color: #fff;
}</style><link rel="stylesheet" href="/src.80ee2152.css"><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.33b724c6.png"><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.43b30f10.png"><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.442c5440.png"><link rel="manifest" href="/site.webmanifest"><link rel="mask-icon" href="/safari-pinned-tab.26109a4b.svg" color="#5bbad5"><meta name="msapplication-TileColor" content="#da532c"><meta name="theme-color" content="#ffffff"><script src="/src.80ee2152.js"></script><link rel="stylesheet" href="/index.dev.1ac7f1b6.css"><style id="inert-style">
[inert] {
  pointer-events: none;
  cursor: default;
}

[inert], [inert] * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
</style></head><body><div id="app"><a class="usa-skipnav" href="#main-content" tabindex="0">Skip to main content</a><section class="site-banner usa-banner"><div class="usa-accordion"><header class="usa-banner__header"><div class="grid-container usa-banner__inner"><div class="grid-col-auto"> <img alt="U.S. flag" class="usa-banner__header-flag" src="/us_flag_small.a942a750.png"></div><div class="grid-col-fill tablet:grid-col-auto"><p class="usa-banner__header-text">An official website of the United States government</p><p aria-hidden="true" class="usa-banner__header-action">Here’s how you know</p></div><button aria-controls="gov-banner" aria-expanded="false" class="usa-accordion__button usa-banner__button"><span class="usa-banner__button-text">Here’s how you know</span></button></div></header></div></section><div><div class="beta"><div class="grid-container"><div class="grid-row"><div class="grid-col-10">This is a testing site for the U.S. Tax Court and not intended for public use. To learn more about starting a case, visit the <a href="https://www.ustaxcourt.gov/">U.S. Tax Court website</a>.</div><div class="grid-col-2"><button class="button-icon float-right"><img alt="close" class="ustc-icon-square--small" src="/close.6ca994f3.svg"></button></div></div></div></div><div class="grid-container no-mobile-padding"><header class="usa-header usa-header--basic ustc-header" role="banner"><div class="usa-nav-container"><div class="usa-navbar"><div class="usa-logo"><a href="/"><img alt="USTC Seal" src="/ustc_seal.04e77616.svg"></a></div><button class="usa-menu-btn">Menu</button></div><nav class="usa-nav ustc-nav" role="navigation"><button class="usa-nav__close">Close <svg aria-hidden="true" focusable="false" data-prefix="fa" data-icon="times-circle" class="svg-inline--fa fa-times-circle fa-w-16 account-menu-icon" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"></path></svg></button><ul class="usa-nav__primary usa-accordion ustc-navigation-items"><li class="usa-nav__primary-item"><a class="usa-nav__link" href="/messages/my/inbox">Messages </a></li><li class="usa-nav__primary-item"><a class="usa-nav__link" href="/document-qc/my/inbox">Document QC</a></li><li class="usa-nav__primary-item"><a class="usa-nav__link" href="/trial-sessions">Trial Sessions</a></li><li class="usa-nav__primary-item"><button aria-expanded="false" class="usa-accordion__button usa-nav__link" id="reports-btn"><span>Reports</span></button></li></ul><form novalidate="" class="usa-search usa-search--small ustc-search" id="search-input"><div role="search"><label class="usa-sr-only" for="search-field">Search term</label><input class="usa-input" id="search-field" name="searchTerm" placeholder="Enter docket no. (123-19)" type="search" value=""><button class="ustc-search-button usa-button margin-right-205" type="submit"><span class="usa-search-submit-text">Search</span><span class="usa-sr-only">Search</span></button><a aria-label="advanced search" class="usa-link advanced margin-left-105" href="/search">Advanced</a></div></form><ul class="usa-nav__primary usa-accordion"><li class="usa-nav__primary-item"><button aria-expanded="false" class="usa-accordion__button usa-nav__link hidden-underline" title="Hello, Test Petitionsclerk"><span><svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="user" class="svg-inline--fa fa-user fa-w-14 account-menu-icon" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M313.6 304c-28.7 0-42.5 16-89.6 16-47.1 0-60.8-16-89.6-16C60.2 304 0 364.2 0 438.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-25.6c0-74.2-60.2-134.4-134.4-134.4zM400 464H48v-25.6c0-47.6 38.8-86.4 86.4-86.4 14.6 0 38.3 16 89.6 16 51.7 0 74.9-16 89.6-16 47.6 0 86.4 38.8 86.4 86.4V464zM224 288c79.5 0 144-64.5 144-144S303.5 0 224 0 80 64.5 80 144s64.5 144 144 144zm0-240c52.9 0 96 43.1 96 96s-43.1 96-96 96-96-43.1-96-96 43.1-96 96-96z"></path></svg></span></button></li></ul></nav></div></header></div></div><main id="main-content" role="main"><div class="big-blue-header"><div class="grid-container"><div class="display-flex flex-row flex-justify"><div class="tablet:grid-col-8"><div class="margin-bottom-1"><h1 class="heading-2 captioned" tabindex="-1"><a class="no-wrap" href="/case-detail/104-19">Docket Number: 104-19</a></h1><span aria-label="status: New" class="usa-tag"><span aria-hidden="true">New</span></span><span aria-label="associated judge" class="margin-left-1 usa-tag"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="gavel" class="svg-inline--fa fa-gavel fa-w-16 fa-1x margin-right-05" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M504.971 199.362l-22.627-22.627c-9.373-9.373-24.569-9.373-33.941 0l-5.657 5.657L329.608 69.255l5.657-5.657c9.373-9.373 9.373-24.569 0-33.941L312.638 7.029c-9.373-9.373-24.569-9.373-33.941 0L154.246 131.48c-9.373 9.373-9.373 24.569 0 33.941l22.627 22.627c9.373 9.373 24.569 9.373 33.941 0l5.657-5.657 39.598 39.598-81.04 81.04-5.657-5.657c-12.497-12.497-32.758-12.497-45.255 0L9.373 412.118c-12.497 12.497-12.497 32.758 0 45.255l45.255 45.255c12.497 12.497 32.758 12.497 45.255 0l114.745-114.745c12.497-12.497 12.497-32.758 0-45.255l-5.657-5.657 81.04-81.04 39.598 39.598-5.657 5.657c-9.373 9.373-9.373 24.569 0 33.941l22.627 22.627c9.373 9.373 24.569 9.373 33.941 0l124.451-124.451c9.372-9.372 9.372-24.568 0-33.941z"></path></svg>Chief Judge</span></div><p class="margin-y-0" id="case-title"><span>Mufutau Wade, Petitioner v. Commissioner of Internal Revenue, Respondent</span></p></div><div class="tablet:grid-col-1"><ul class="usa-nav__primary usa-accordion case-detail-menu flex-column flex-align-end"><li class="usa-nav__primary-item"><button aria-expanded="false" class="usa-accordion__button usa-nav__link hidden-underline case-detail-menu__button text-no-wrap" id="case-detail-menu-button">Actions<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="caret-down" class="svg-inline--fa fa-caret-down fa-w-10 fa-1x margin-left-05" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"></path></svg></button></li></ul></div></div></div></div><section class="usa-section grid-container DocumentDetail"><h2 class="heading-1">Petition</h2><div class="filed-by"><div class="padding-bottom-1">Filed 03/05/19 by Test Petitioner</div></div><div></div><div class="grid-container padding-x-0"><div class="grid-row grid-gap"><div class="grid-col-5"><div class="ustc-ui-tabs no-full-border-bottom tab-button-h2 ustc-num-tabs-2"><nav class=""><ul class="" role="tablist"><li class="active"><button aria-controls="tabContent-documentInfo" aria-selected="true" id="tab-document-info" role="tab" type="button"><span>Document Info</span> </button></li><li class=""><button aria-controls="tabContent-messages" aria-selected="false" id="tab-pending-messages" role="tab" type="button"><span>Messages</span> </button></li></ul></nav></div></div><div class="grid-col-7"><div class="document-detail__action-buttons"><div class="float-left"></div><div class="float-right"></div></div></div></div><div class="grid-row grid-gap"><div class="grid-col-5"><div class="ustc-ui-tabs no-full-border-bottom tab-button-h2"><div class="tab-content" id="tabContent-documentInfo" role="tabpanel"><div aria-labelledby="tab-document-info" id="tab-document-info-panel"><div novalidate="" id="case-edit-form" role="form"><div class="ustc-ui-tabs container-tabs tab-button-h3 ustc-num-tabs-3" id="case-detail-tabs"><nav class="grid-container padding-x-0"><ul class="grid-row" role="tablist"><li class="active grid-col"><button aria-controls="tabContent-partyInfo" aria-selected="true" id="tab-parties" role="tab" type="button"><span>Parties</span> </button></li><li class="grid-col"><button aria-controls="tabContent-caseInfo" aria-selected="false" id="tab-case-info" role="tab" type="button"><span>Case Info</span> </button></li><li class="grid-col"><button aria-controls="tabContent-irsNotice" aria-selected="false" id="tab-irs-notice" role="tab" type="button"><span>IRS Notice</span> </button></li></ul></nav><div class="tab-content" id="tabContent-partyInfo" role="tabpanel"><div class="blue-container document-detail-one-third"><div class="subsection party-type"><div class="usa-form-group"><label class="usa-label" for="party-type">Party type</label><select class="usa-select" id="party-type" name="partyType"><option value="">- Select -</option><option value="Conservator">Conservator</option><option value="Corporation">Corporation</option><option value="Custodian">Custodian</option><option value="Donor">Donor</option><option value="Estate with an executor/personal representative/fiduciary/etc.">Estate with an executor/personal representative/fiduciary/etc.</option><option value="Estate without an executor/personal representative/fiduciary/etc.">Estate without an executor/personal representative/fiduciary/etc.</option><option value="Guardian">Guardian</option><option value="Next friend for a legally incompetent person (without a guardian, conservator, or other like fiduciary)">Next friend for a legally incompetent person (without a guardian, conservator, or other like fiduciary)</option><option value="Next friend for a minor (without a guardian, conservator, or other like fiduciary)">Next friend for a minor (without a guardian, conservator, or other like fiduciary)</option><option value="Partnership (as the Tax Matters Partner)">Partnership (as the Tax Matters Partner)</option><option value="Partnership (as a partnership representative under the BBA regime)">Partnership (as a partnership representative under the BBA regime)</option><option value="Partnership (as a partner other than Tax Matters Partner)">Partnership (as a partner other than Tax Matters Partner)</option><option value="Petitioner">Petitioner</option><option value="Petitioner &amp; deceased spouse">Petitioner &amp; deceased spouse</option><option value="Petitioner &amp; spouse">Petitioner &amp; spouse</option><option value="Surviving spouse">Surviving spouse</option><option value="Transferee">Transferee</option><option value="Trust">Trust</option></select></div></div><div class="subsection"><div class="usa-form-group"><label class="usa-label" for="ods-link">Ownership Disclosure Statement</label><a aria-label="View PDF: Ownership Disclosure Statement" href="http://localhost:3000/case-documents/5f6e8b8e-4fac-4fd7-bf3c-42f0d7c3ca05/add36745-8e77-450b-a8dd-6f34272fe1d5/document-download-url?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InBldGl0aW9uc2NsZXJrIiwibmFtZSI6IlRlc3QgUGV0aXRpb25zY2xlcmsiLCJyb2xlIjoicGV0aXRpb25zY2xlcmsiLCJ1c2VySWQiOiIzODA1ZDFhYi0xOGQwLTQzZWMtYmFmYi02NTRlODM0MDU0MTYiLCJjdXN0b206cm9sZSI6InBldGl0aW9uc2NsZXJrIiwic3ViIjoiMzgwNWQxYWItMThkMC00M2VjLWJhZmItNjU0ZTgzNDA1NDE2IiwiaWF0IjoxNTg2NDU0NjM3fQ.1Pwx8p72k70fZ-WPvZ9PKQpKYl-On4RBkTohwo0sgT0" rel="noopener noreferrer" target="_blank"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="file-pdf" class="svg-inline--fa fa-file-pdf fa-w-12 fa-icon-blue" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M181.9 256.1c-5-16-4.9-46.9-2-46.9 8.4 0 7.6 36.9 2 46.9zm-1.7 47.2c-7.7 20.2-17.3 43.3-28.4 62.7 18.3-7 39-17.2 62.9-21.9-12.7-9.6-24.9-23.4-34.5-40.8zM86.1 428.1c0 .8 13.2-5.4 34.9-40.2-6.7 6.3-29.1 24.5-34.9 40.2zM248 160h136v328c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V24C0 10.7 10.7 0 24 0h200v136c0 13.2 10.8 24 24 24zm-8 171.8c-20-12.2-33.3-29-42.7-53.8 4.5-18.5 11.6-46.6 6.2-64.2-4.7-29.4-42.4-26.5-47.8-6.8-5 18.3-.4 44.1 8.1 77-11.6 27.6-28.7 64.6-40.8 85.8-.1 0-.1.1-.2.1-27.1 13.9-73.6 44.5-54.5 68 5.6 6.9 16 10 21.5 10 17.9 0 35.7-18 61.1-61.8 25.8-8.5 54.1-19.1 79-23.2 21.7 11.8 47.1 19.5 64 19.5 29.2 0 31.2-32 19.7-43.4-13.9-13.6-54.3-9.7-73.6-7.2zM377 105L279 7c-4.5-4.5-10.6-7-17-7h-6v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zm-74.1 255.3c4.1-2.7-2.5-11.9-42.8-9 37.1 15.8 42.8 9 42.8 9z"></path></svg>Ownership Disclosure Statement</a><div class="order-checkbox"><input class="usa-checkbox__input" id="order-for-ods" name="orderForOds" type="checkbox" checked=""><label class="usa-checkbox__label inline-block" for="order-for-ods">Order for Ownership Disclosure Statement</label></div></div></div><div class="subsection contacts"><h4>Corporation Information</h4><div class="blue-container contact-group"><div class="usa-form-group"><label class="usa-label" for="name">Business name</label><input autocapitalize="none" class="usa-input" id="name" name="contactPrimary.name" type="text" value="Mufutau Wade"></div><div class="usa-form-group"><label class="usa-label" for="inCareOf"><span>In care of </span></label><input autocapitalize="none" class="usa-input" id="inCareOf" name="contactPrimary.inCareOf" type="text" value="Abdul Barlow"></div><div class="usa-form-group"><label class="usa-label" for="contactPrimary.countryType">Country</label><select class="contactPrimary-country-type usa-select" id="contactPrimary.countryType" name="contactPrimary.countryType"><option value="domestic">- United States -</option><option value="international">- International -</option></select></div><div class="usa-form-group"><label class="usa-label" for="contactPrimary.address1">Mailing address line 1</label><input autocapitalize="none" class="usa-input" id="contactPrimary.address1" name="contactPrimary.address1" type="text" value="688 South Clarendon Road"></div><div class="usa-form-group"><label class="usa-label" for="contactPrimary.address2">Address line 2 <span class="usa-hint">(optional)</span></label><input autocapitalize="none" class="usa-input" id="contactPrimary.address2" name="contactPrimary.address2" type="text" value="Non ad et fugiat ut"></div><div class="usa-form-group"><label class="usa-label" for="contactPrimary.address3">Address line 3 <span class="usa-hint">(optional)</span></label><input autocapitalize="none" class="usa-input" id="contactPrimary.address3" name="contactPrimary.address3" type="text" value="Reprehenderit conseq"></div><div class="usa-form-group"><div class="grid-row grid-gap state-and-city"><div class="grid-col-8"><label class="usa-label" for="contactPrimary.city">City</label><input autocapitalize="none" class="usa-input usa-input--inline" id="contactPrimary.city" name="contactPrimary.city" type="text" value="Autem ipsum ea mole"></div><div class="grid-col-4"><label class="usa-label" for="contactPrimary.state">State</label><select class="usa-select" id="contactPrimary.state" name="contactPrimary.state"><option value="">- Select -</option><optgroup label="State"><option value="AK">AK</option><option value="AL">AL</option><option value="AR">AR</option><option value="AZ">AZ</option><option value="CA">CA</option><option value="CO">CO</option><option value="CT">CT</option><option value="DC">DC</option><option value="DE">DE</option><option value="FL">FL</option><option value="GA">GA</option><option value="HI">HI</option><option value="IA">IA</option><option value="ID">ID</option><option value="IL">IL</option><option value="IN">IN</option><option value="KS">KS</option><option value="KY">KY</option><option value="LA">LA</option><option value="MA">MA</option><option value="MD">MD</option><option value="ME">ME</option><option value="MI">MI</option><option value="MN">MN</option><option value="MO">MO</option><option value="MS">MS</option><option value="MT">MT</option><option value="NC">NC</option><option value="ND">ND</option><option value="NE">NE</option><option value="NH">NH</option><option value="NJ">NJ</option><option value="NM">NM</option><option value="NV">NV</option><option value="NY">NY</option><option value="OH">OH</option><option value="OK">OK</option><option value="OR">OR</option><option value="PA">PA</option><option value="RI">RI</option><option value="SC">SC</option><option value="SD">SD</option><option value="TN">TN</option><option value="TX">TX</option><option value="UT">UT</option><option value="VA">VA</option><option value="VT">VT</option><option value="WA">WA</option><option value="WI">WI</option><option value="WV">WV</option><option value="WY">WY</option></optgroup><optgroup label="Other"><option value="AA">AA</option><option value="AE">AE</option><option value="AP">AP</option><option value="AS">AS</option><option value="FM">FM</option><option value="GU">GU</option><option value="MH">MH</option><option value="MP">MP</option><option value="PW">PW</option><option value="PR">PR</option><option value="VI">VI</option></optgroup></select></div></div><div class="grid-row grid-gap"><div class="grid-col-8"></div><div class="grid-col-4"></div></div></div><div class="usa-form-group"><label aria-label="zip code" class="usa-label" for="contactPrimary.postalCode">ZIP code</label><input autocapitalize="none" class="usa-input max-width-200 tablet:usa-input--medium" id="contactPrimary.postalCode" name="contactPrimary.postalCode" type="text" value="27543"></div><div class="usa-form-group phone-input"><label class="usa-label" for="phone">Phone number <span class="usa-hint">(optional)</span></label><input autocapitalize="none" class="usa-input max-width-200" id="phone" name="contactPrimary.phone" type="tel" value="+1 (445) 595-2606"></div></div></div></div></div></div><button class="usa-button margin-right-205" id="submit-case" type="button">Review Petition</button><button class="usa-button margin-right-205 usa-button--unstyled ustc-button--unstyled">Cancel</button></div></div></div></div></div><div class="grid-col-7"></div></div></div></section></main><footer class="usa-footer usa-footer-medium site" role="contentinfo"><div class="footer-section-bottom"><div class="grid-container"></div></div></footer><div id="ci-environment">CI Test Environment</div></div><div id="modal-root"></div><div id="dwtcontrolContainer"></div><script src="/index.dev.1ac7f1b6.js"></script></body></html>
@sutt0n
Copy link

sutt0n commented Apr 9, 2020

After some investigating, it's because we were referencing an element in a label's for attribute that did not exist... Example:

<div>
  <label for="does-not-exist">First Name</label>
  <input type="text" id="first-name" name="firstName" />
</div>

You can copy the above code and paste it into the sniffer on y'all's page and it outputs an exception in the console.

@ironikart ironikart added the Bug label Apr 13, 2020
ironikart added a commit that referenced this issue Apr 13, 2020
@ironikart
Copy link
Contributor

No longer able to reproduce this, seems #279 fixed it but the issue wasn't closed.

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

No branches or pull requests

3 participants