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

ESRI Leaflet Demo Needs W3C Validation #120

Open
pmacMaps opened this issue Jul 7, 2016 · 1 comment
Open

ESRI Leaflet Demo Needs W3C Validation #120

pmacMaps opened this issue Jul 7, 2016 · 1 comment

Comments

@pmacMaps
Copy link
Contributor

pmacMaps commented Jul 7, 2016

Can the ESRI Leaflet demo HTML file be updated to pass W3C validation?

Whenever I paste the file into the validator, I get the following errors:

  1. Error: Element div is missing one or more of the following attributes: role.
    From line 75, column 4; to line 75, column 76
    se -->↩ <div id="mainNav" class="collapse navbar-collapse" aria-expanded="false">↩ <
    Attributes for element div:
    Global attributes
  2. Error: Attribute aria-lablledby not allowed on element ul at this point.
    From line 82, column 7; to line 82, column 63
    /a>↩ <ul class="dropdown-menu" aria-lablledby="optionsToggle">
    Attributes for element ul:
    Global attributes
  3. Error: No space between attributes.
    At line 90, column 32
    ="settingsMenu"class="" role="
  4. Error: The aria-controls attribute must point to an element in the same document.
    From line 58, column 5; to line 58, column 149
    der">↩ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mainNav" aria-expanded="false" aria-controls="navbar">
  5. Error: The aria-labelledby attribute must point to an element in the same document.
    From line 100, column 2; to line 100, column 101
    dow -->↩↩ <div class="modal fade" id="modalSplash" tabindex="-1" role="dialog" aria-labelledby="splashlModal">
@alaframboise
Copy link
Contributor

@pmacMaps thanks. Some of that just didn't make the clean up :) but I'll take a look at this and get it dialed in. Thanks.

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

No branches or pull requests

2 participants