Skip to content
This repository has been archived by the owner on Apr 14, 2019. It is now read-only.

suggest check empty links or other tags #61

Open
kryde opened this issue Aug 29, 2017 · 1 comment
Open

suggest check empty links or other tags #61

kryde opened this issue Aug 29, 2017 · 1 comment

Comments

@kryde
Copy link

kryde commented Aug 29, 2017

As an idea for a feature, it could be good if HTML::Lint reported empty link text like <a href="foo"></a>. Such an empty tends to be invisible or unclickable or both depending on the browser, and in any case is almost certainly a mistake on the author's part.

Various other empty markups like <code> could be reported too. They'd be usually harmless but useless. Not quite all empties would be useless. I could imagine a deliberately empty itemize <li></li>.

@petdance
Copy link
Owner

I like this idea.

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

No branches or pull requests

2 participants