++ed by:
LUKAST THALJEF PETDANCE

3 PAUSE users
1 non-PAUSE user.

Andy Lester

Modules

Changes for version 2.22

  • CHANGES THAT COULD BREAK YOUR CODE
    • Previously, html_ok() would not check the entire structure of a web page to check for , , and <body> tags. Now it will. If you want to check fragments of HTML for validity but know that they are not valid HTML documents on their own, use the new html_fragment_ok().</span> </li> </ul> </li> <li class="group-header"><span class="change-entry">ENHANCEMENTS</span> <ul> <li class=""><span class="change-entry">Added new error, elem-input-alt-missing, that warns of <input type="image"> tags that are missing an alt="" attribute. This helps for accessability to make sure that any images have alternate text for screen readers.</span> </li> <li class="group-header"><span class="change-entry">Added ability to modify HTML::Lint's table of known tags and attributes, so you could do this:</span> <ul> <li class=""><span class="change-entry">Add an attribute that your company uses. HTML::Lint::HTML4::add_attribute( 'body', 'proprietary-attribute' );</span> </li> <li class=""><span class="change-entry">Add the HTML 5 <canvas> tag. HTML::Lint::HTML4::add_tag( 'canvas' ); HTML::Lint::HTML4::add_attribute( 'canvas', $_ ) for qw( height width );</span> </li> </ul> </li> </ul> </li> <li class="group-header"><span class="change-entry">FIXES</span> <ul> <li class=""><span class="change-entry">Test::HTML::Lint::html_ok() would not call the HTML::Lint eof() method, which meant it wouldn't do document-wide tests.</span> </li> </ul> </li> </ul> </div> </div> </div> </div> <div class="row footer"> <div class="hidden-xs hidden-sm col-md-2"> </div> <div class="col-xs-2 col-sm-1 col-md-1" style="text-align: center"> <a href="https://github.com/CPAN-API/cpan-api/wiki/API-docs">API</a> </div> <div class="col-xs-5 col-sm-3 col-md-2" style="text-align: center"> <a href="/about">About MetaCPAN</a> </div> <div class="hidden-xs col-sm-2 col-md-2" style="text-align: center"> <a href="/mirrors">CPAN Mirrors</a> </div> <div class="hidden-xs col-sm-3 col-md-2" style="text-align: center"> <a href="https://github.com/CPAN-API/metacpan-web">Fork metacpan.org</a> </div> <div class="hidden-xs col-sm-1 col-md-1" style="text-align: center"> <a href="https://www.perl.org/">Perl.org</a> </div> </div> <div class="row" style="padding:15px"> <div class="hidden-xs col-md-4 text-right" style="padding:25px"> <span class="hidden-phone" style="color: #999">Hosting generously provided by:</span> </div> <div class="col-xs-9 col-md-4" style="padding:25px"> <a href="http://www.bytemark.co.uk/r/metacpan.org/" target="_blank"> <img width="210" src="/static/images/sponsors/bytemark_logo.png"> </a> </div> <div class="col-xs-9 col-md-4" style="padding:15px"> <a target="_blank" href="https://www.liquidweb.com/"> <img width="170" src="/static/images/sponsors/liquidweb_color.png"> </a> </div> </div> </div> <div class="modal fade" tabindex="-1" role="dialog" id="keyboard-shortcuts"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title">Keyboard Shortcuts</h4> </div> <div class="modal-body row"> <div class="col-md-6"> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>Global</th> </tr> </thead> <tbody> <tr> <td class="keys"> <kbd>s</kbd> </td> <td>Focus search bar</td> </tr> <tr> <td class="keys"> <kbd>?</kbd> </td> <td>Bring up this help dialog</td> </tr> </tbody> </table> </div> <div class="col-md-6"> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>POD</th> </tr> </thead> <tbody> <tr> <td class="keys"> <kbd>g</kbd> <kbd>a</kbd> </td> <td>Go to author</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>c</kbd> </td> <td>Go to changes</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>i</kbd> </td> <td>Go to issues</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>r</kbd> </td> <td>Go to release</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>s</kbd> </td> <td>Go to SCM</td> </tr> </tbody> </table> </div> </div> <div class="modal-footer"></div> </div> </div> </div> </body> </html>