asyncapi/nodejs-ws-template

Basic fix to index.html file

derberg opened this issue · 2 comments

SonarCube bugs discovered:

The <!DOCTYPE> declaration tells the web browser which (X)HTML version is being used on the page, and therefore how to interpret the various elements. Validators also rely on it to know which rules to enforce. It should always preceed the tag.

The element should provide the lang and/or xml:lang attribute in order to identify the default language of a document. It enables assistive technologies, such as screen readers, to provide a comfortable reading experience by adapting the pronunciation and accent to the language. It also helps braille translation software, telling it to switch the control codes for accented characters for instance.

Add to this file:

  • <!DOCTYPE html> must be added above <html> tag
  • modify <html> tag so it looks like <html lang="en">

Welcome to AsyncAPI. Thanks a lot for reporting your first issue.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

🎉 This issue has been resolved in version 0.7.1 🎉

The release is available on:

Your semantic-release bot 📦🚀