This tool is an ongoing experiment in better HTML checking, and its behavior remains subject to change

Showing results for https://www.whitehouse.gov/

Checker Input

Show

  1. Warning: The type attribute is unnecessary for JavaScript resources.

    From line 9, column 55; to line 9, column 85

    "ie=edge"><script type="text/javascript">(windo

  2. Error: Bad value https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Source+Sans+Pro:300,300i,400,400i,600,600i,700,700i,900,900i&subset=latin-ext for attribute href on element link: Illegal character in query: | is not allowed.

    From line 35, column 1; to line 35, column 255

    nnect' /><link rel='stylesheet' id='google-fonts-css' href='https://fonts.googleapis.com/css?family=Merriweao:300,300i,400,400i,600,600i,700,700i,900,900i&#038;subset=latin-ext' type='text/css' media='all' /><link

  3. Warning: The type attribute is unnecessary for JavaScript resources.

    From line 37, column 1; to line 37, column 135

    ='all' /><script type='text/javascript' src='https://www.whitehouse.gov/wp-content/themes/whitehouse/assets/dist/polyfills.min.js?ver=86f25a38'></scri

  4. Warning: The type attribute is unnecessary for JavaScript resources.

    From line 38, column 1; to line 38, column 156

    </script><script type='text/javascript' src='https://www.whitehouse.gov/wp-content/themes/whitehouse/assets/vendor/picturefill/dist/picturefill.min.js?ver=86f25a38'></scri

  5. Warning: The type attribute for the style element is not needed and should be omitted.

    From line 43, column 3; to line 43, column 44

    png" /> <style type="text/css" id="wp-custom-css"> @m

  6. Error: Element title not allowed as child of element b in this context. (Suppressing further errors from this subtree.)

    From line 74, column 624; to line 74, column 630

    0"/></svg><title>open-m

    Contexts in which element title may be used:
    In a head element containing no other title elements.
    Content model for element b:
    Phrasing content.
  7. Error: Bad value presentation for attribute role on element a.

    From line 111, column 6; to line 111, column 169

    r"> <a href="https://www.whitehouse.gov/briefings-statements/historic-summit-north-korea-tremendous-moment-world/" aria-hidden="true" role="presentation" tabindex="-1">

  8. Error: When the srcset attribute has any image candidate string with a width descriptor, the sizes attribute must also be present.

    From line 115, column 155; to line 115, column 822

    <source srcset="https://www.whitehouse.gov/wp-content/uploads/2018/06/POTD-June-14-2018-900x600.jpg w.whitehouse.gov/wp-content/uploads/2018/06/POTD-June-14-2018.jpg 1500w" media="(max-width: 899px)">

  9. Error: Bad value presentation for attribute role on element a.

    From line 162, column 6; to line 162, column 171

    r"> <a href="https://www.whitehouse.gov/briefings-statements/president-donald-j-trumps-500-days-american-greatness/" aria-hidden="true" role="presentation" tabindex="-1">

  10. Error: When the srcset attribute has any image candidate string with a width descriptor, the sizes attribute must also be present.

    From line 166, column 16; to line 166, column 537

    <source srcset="https://www.whitehouse.gov/wp-content/uploads/2018/06/26940767387_7aff34239f_o-620x6ov/wp-content/uploads/2018/06/26940767387_7aff34239f_o-200x200.jpg 200w" media="(max-width: 699px)">

  11. Error: Bad value presentation for attribute role on element a.

    From line 190, column 6; to line 190, column 183

    r"> <a href="https://www.whitehouse.gov/briefings-statements/president-donald-j-trump-confronting-chinas-unfair-trade-policies/" aria-hidden="true" role="presentation" tabindex="-1">

  12. Error: When the srcset attribute has any image candidate string with a width descriptor, the sizes attribute must also be present.

    From line 195, column 10; to line 195, column 588

    <img width="620" height="620" src="https://www.whitehouse.gov/wp-content/uploads/2018/01/Photo-3-2-6-92x92.jpg 92w, https://www.whitehouse.gov/wp-content/uploads/2018/01/Photo-3-2-200x200.jpg 200w" />

  13. Error: Element a not allowed as child of element time in this context. (Suppressing further errors from this subtree.)

    From line 228, column 11; to line 228, column 83

    <time><a href="https://twitter.com/realDonaldTrump/status/1006866089110892545">06/13/

    Contexts in which element a may be used:
    Where phrasing content is expected.
    Content model for element time:
    If the element has a datetime attribute: Phrasing content.
    Otherwise: Text , but must match requirements described in prose below.
  14. Error: The text content of element time was not in the required format: The literal did not satisfy the time-datetime format.

    From line 228, column 106; to line 228, column 112

    :49 am</a></time> </

  15. Warning: Article lacks heading. Consider using h2-h6 elements to add identifying headings to all articles.

    From line 217, column 7; to line 217, column 42

    le> <article class="tweet tweet--small"> <di

  16. Error: Bad value presentation for attribute role on element a.

    From line 238, column 6; to line 238, column 238

    r"> <a href="https://www.whitehouse.gov/briefings-statements/president-donald-j-trump-sign-right-try-legexpand-healthcare-options-terminal-americans/" aria-hidden="true" role="presentation" tabindex="-1">

  17. Error: When the srcset attribute has any image candidate string with a width descriptor, the sizes attribute must also be present.

    From line 242, column 16; to line 242, column 562

    <source srcset="https://www.whitehouse.gov/wp-content/uploads/2018/05/P20180530AH-0621-Right-to-Try--content/uploads/2018/05/P20180530AH-0621-Right-to-Try-200x200.jpg 200w" media="(max-width: 699px)">

  18. Error: When the srcset attribute has any image candidate string with a width descriptor, the sizes attribute must also be present.

    From line 285, column 16; to line 285, column 208

    <source srcset="https://www.whitehouse.gov/wp-content/uploads/2017/11/bitmap.jpg 466w, https://www.whitehouse.gov/wp-content/uploads/2017/11/bitmap-300x199.jpg 300w" media="(max-width: 499px)">

  19. Error: When the srcset attribute has any image candidate string with a width descriptor, the sizes attribute must also be present.

    From line 286, column 10; to line 286, column 325

    <img width="466" height="309" src="https://www.whitehouse.gov/wp-content/uploads/2017/11/bitmap.jpg"1/bitmap.jpg 466w, https://www.whitehouse.gov/wp-content/uploads/2017/11/bitmap-300x199.jpg 300w" />

  20. Error: Attribute vatt not allowed on element input at this point.

    From line 390, column 9; to line 390, column 360

    > <input aria-label="email address" class="ff-input-type ff-type-text" data-ishidden="false" data-isreaxlength="80" name="Contact.Email" placeholder="email address" type="email" required vatt="EMAIL" />

    Attributes for element input:
    Global attributes
    accept when type is file
    alt when type is image
    autocomplete when type is text, search, url, tel, email, password, date, month, week, time, datetime-local, number, range, or color
    autofocus
    checked when type is checkbox or radio
    dirname when type is text or search
    disabled
    form
    formaction when type is submit or image
    formenctype when type is submit or image
    formmethod when type is submit or image
    formnovalidate when type is submit or image
    formtarget when type is submit or image
    height when type is image
    list when type is text, search, url, tel, email, date, month, week, time, datetime-local, number, range, or color
    max when type is date, month, week, time, datetime-local, number, or range
    maxlength when type is text, search, url, tel, email, or password
    min when type is date, month, week, time, datetime-local, number, or range
    multiple when type is email or file
    name
    pattern when type is text, search, url, tel, email, or password
    placeholder when type is text, search, url, tel, email, password, or number
    readonly when type is text, search, url, tel, email, password, date, month, week, time, datetime-local, or number
    required when type is text, search, url, tel, email, password, date, month, week, time, datetime-local, number, checkbox, radio, or file
    size when type is text, search, url, tel, email, or password
    src when type is image
    step when type is date, month, week, time, datetime-local, number, or range
    type
    value when type is not file or image
    width when type is image
  21. Error: Attribute allow not allowed on element iframe at this point.

    From line 405, column 2; to line 405, column 160

    </form> <iframe allow="geolocation *; microphone *; camera *" frameborder="0" height="0" id="cuiframe" name="cuiframe" scrolling="no" src="" title="Content" width="0"></ifra

    Attributes for element iframe:
    Global attributes
    src - Address of the resource
    srcdoc - A document to render in the iframe
    name - Name of nested browsing context
    sandbox - Security rules for nested content
    allowfullscreen - Whether to allow the iframe’s contents to use requestFullscreen()
    allowpaymentrequest - Whether the iframe’s contents are allowed to use the PaymentRequest interface to make payment requests
    allowusermedia - Whether to allow the iframe's browsing context to use getUserMedia()
    width - Horizontal dimension
    height - Vertical dimension
    referrerpolicy - Referrer policy for fetches initiated by the element
  22. Error: Bad value for attribute src on element iframe: Must be non-empty.

    From line 405, column 2; to line 405, column 160

    </form> <iframe allow="geolocation *; microphone *; camera *" frameborder="0" height="0" id="cuiframe" name="cuiframe" scrolling="no" src="" title="Content" width="0"></ifra

  23. Error: The frameborder attribute on the iframe element is obsolete. Use CSS instead.

    From line 405, column 2; to line 405, column 160

    </form> <iframe allow="geolocation *; microphone *; camera *" frameborder="0" height="0" id="cuiframe" name="cuiframe" scrolling="no" src="" title="Content" width="0"></ifra

  24. Error: The scrolling attribute on the iframe element is obsolete. Use CSS instead.

    From line 405, column 2; to line 405, column 160

    </form> <iframe allow="geolocation *; microphone *; camera *" frameborder="0" height="0" id="cuiframe" name="cuiframe" scrolling="no" src="" title="Content" width="0"></ifra

  25. Error: Element hr not allowed as child of element span in this context. (Suppressing further errors from this subtree.)

    From line 437, column 41; to line 437, column 44

    divider"><hr><hr></

    Contexts in which element hr may be used:
    Where flow content is expected.
    Content model for element span:
    Phrasing content.
  26. Error: Element hr not allowed as child of element span in this context. (Suppressing further errors from this subtree.)

    From line 437, column 45; to line 437, column 48

    ider"><hr><hr></span

    Contexts in which element hr may be used:
    Where flow content is expected.
    Content model for element span:
    Phrasing content.
  27. Warning: The type attribute is unnecessary for JavaScript resources.

    From line 457, column 2; to line 457, column 147

    footer"> <script type='text/javascript' src='https://www.whitehouse.gov/wp-content/themes/whitehouse/assets/vendor/jquery/dist/jquery.min.js?ver=86f25a38'></scri

  28. Warning: The type attribute is unnecessary for JavaScript resources.

    From line 458, column 1; to line 458, column 152

    </script><script type='text/javascript' src='https://www.whitehouse.gov/wp-content/themes/whitehouse/assets/vendor/clipboard/dist/clipboard.min.js?ver=86f25a38'></scri

  29. Warning: The type attribute is unnecessary for JavaScript resources.

    From line 459, column 1; to line 459, column 142

    </script><script type='text/javascript' src='https://www.whitehouse.gov/wp-content/themes/whitehouse/assets/vendor/bows/dist/bows.min.js?ver=86f25a38'></scri

  30. Warning: The type attribute is unnecessary for JavaScript resources.

    From line 460, column 1; to line 460, column 130

    </script><script type='text/javascript' src='https://www.whitehouse.gov/wp-content/themes/whitehouse/assets/dist/site.min.js?ver=86f25a38'></scri

  31. Warning: The type attribute is unnecessary for JavaScript resources.

    From line 461, column 1; to line 461, column 31

    </script><script type='text/javascript'>windo

  32. Warning: Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.

    From line 456, column 1; to line 456, column 24

    flow --><section id="wp-footer"> <scr

  33. Warning: The type attribute is unnecessary for JavaScript resources.

    From line 519, column 1; to line 519, column 31

    ></div><script type="text/javascript">window

  34. Error: The aria-labelledby attribute must point to an element in the same document.

    From line 406, column 2; to line 406, column 241

    /iframe> <div aria-describedby="dialog" aria-labelledby="ui-id-1" class="ff-ui-dialog ui-corner-all ui-widget ff-ui-dialog-buttons ui-draggable ui-resizable" id="dvFastFormsDialog" role="dialog" tabindex="-1"> <di

There were errors.

Used the schema for HTML with SVG 1.1, MathML 3.0, RDFa 1.1, and ITS 2.0 support.

Used the HTML parser. Externally specified character encoding was UTF-8.

Total execution time 86 milliseconds.


About this checkerReport an issueVersion: 18.6.15