locked
empty heading RRS feed

  • Question

  • User-944424728 posted

    Hello, I have div tag and Waves tool showing these div tags missing empty heading. How do I fix it? I tried add "alt="" " but it did not work. thanks.

    --

    If ShowActions Then
    templateSB.Append(" <div class=""JCardAction"">")
    templateSB.Append(" <div class=""JCardActionRunning"">")
    templateSB.Append(" <span onclick=""window.location.href=\'{{jobdetailurl}}\';"">View</span>")
    templateSB.Append(" </div>")
    templateSB.Append(" <div class=""JCardActionRunning"">")
    templateSB.Append(" Save")
    templateSB.Append(" </div>")
    templateSB.Append(" <div>")
    templateSB.Append(" Share")
    templateSB.Append(" </div>")
    templateSB.Append(" </div>")
    End If

    showing in browser as empty heading error

    --

    <div aria-hidden="false" class="highcharts-exit-anchor-wrapper" wiid="N1149" style="; outline: none;">
    1111<h6 tabindex="0" aria-label="End of interactive chart" aria-hidden="false" wiid="C1150" style="; width: 1px; height: 1px; bottom: 5px; z-index: 0; overflow: hidden; outline: none;"></h6>
    </div>
    </div>

    <div class="JCardAction" wiid="C968"><div class="JCardActionRunning" wiid="C969">

    11<span onclick="window.location.href='https://localhost/vos_v150_fdev/vosnet/jobbanks/jobdetails.aspx?enc=9B8/uT7EfbEIDLIMZ8rho1zS8RL+yrkZ2RMoSRDXDuw8TR4KMrYNHLrYToIPszhjD5S34psqRa26rBvCwMR3VSBmjJQTrrZlx8X3BZV/y81Llnp6CEEdEZPAhiAuZIl0U551OJ15E26GSdwAhJQ43j9ItubjkGwkZyGppBR0ypWDk0vg6HFeqDfs6HU5L/Vv225tMuq/+Wg7k9EvFVP7tNUY1K4G4wBxOJphMXUU10OOngI3IiQT5CgDESRHlUtS0tSJcynSkYUfxWlA2qar8YfwqYSeLiljAlGY3Hb7gegTZ11xKpGVSlzcg5oc+jvXmtkgGDi59P8+BRvO2gukWQ==';" wiid="C970">
    View
    </span>

    </div>

    1<div class="JCardActionRunning" wiid="C971">
    Save
    </div>
    1<div wiid="C972">
    Share
    </div>

    Monday, October 28, 2019 8:03 PM

All replies

  • User303363814 posted

    The error you are seeing is an "empty heading error".  Nothing to do with div.  In html the heading tags are h1, h2, … h4.  They should not be empty.

    There is at least one h6 tag in the html that you have shown which has no content (the one with aria-label of "End of interactive chart").  It needs to have content if you want the 'error' being reported to go away.

    Monday, October 28, 2019 9:31 PM
  • User288213138 posted

    Hi aspvbnet,

    Waves tool showing these div tags missing empty heading

    This error indicates your heading contains no content.

    How do I fix it?

    You should ensure that all headings contain informative content.

    More information about WAVE tool reports 'Empty heading' error you can refer to this link:https://github.com/curationexperts/nurax/issues/224

    Best regards,

    Sam

    Tuesday, October 29, 2019 7:25 AM