From 0c3e2f0be69848f1bd8db81cf4eed07075f3d6fa Mon Sep 17 00:00:00 2001 From: Muhannad Abdelrazek Date: Wed, 18 Oct 2017 22:01:59 +0200 Subject: [PATCH 1/2] Check html language --- README.md | 2 ++ example.html | 2 +- index.js | 28 ++++++++++++++++++++++++++++ test/test.js | 14 ++++++++++++++ 4 files changed, 45 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 49567e4..5ebd07b 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ document.addEventListener('DOMContentLoaded', function() { List of errors: +- `HtmlWithoutLangAttributeError` +- `HtmlWithoutLangValueError` - `ImageWithoutAltAttributeError` - `ElementWithoutLabelError` - `LinkWithoutLabelOrRoleError` diff --git a/example.html b/example.html index 62d2f2b..1cab694 100644 --- a/example.html +++ b/example.html @@ -45,7 +45,7 @@