mvdschee / web-accessibility

A Visual Studio Extension for Web accessibility
https://marketplace.visualstudio.com/items?itemName=MaxvanderSchee.web-accessibility
MIT License
70 stars 12 forks source link

Don't show alerts on multiple line tag definitions #45

Open netdjw opened 3 years ago

netdjw commented 3 years ago

Describe the bug Don't show alerts on multiple line tag definitions.

To Reproduce If I use multiple lines for HTML tags, like below, the plugin don't show any alerts, warnings, or errors:

<input
  type="password"
  maxlength="3"
/>

I know this is not a standard of code usage, but it is acceptable if we want.

If I change to this format, the plugin works as I expect:

<input type="password" maxlength="3">

Expected behavior I expect alerts on multiline tags too, because of max-line-length rule of linters I use multiline tags in many cases.

Visual Studio Code (please complete the following information):