Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-02-06 16:15:54 +0300
committerXhmikosR <xhmikosr@gmail.com>2021-02-08 08:19:07 +0300
commit6d8e3a47bd672f8c6cef8e39935758de68ca6886 (patch)
tree0a4b283b2de9dd9dee6e4124cb3dccb0d4645e16 /build
parent2ccb8eef2f3ee6320f34eb4510b81d0e6e1c2718 (diff)
Remove `role="main"` from `main`
This was needed for IE which isn't supported.
Diffstat (limited to 'build')
-rw-r--r--build/vnu-jar.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/build/vnu-jar.js b/build/vnu-jar.js
index a2ca6907b..c4d8604ca 100644
--- a/build/vnu-jar.js
+++ b/build/vnu-jar.js
@@ -21,11 +21,8 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
const is32bitJava = !/64-Bit/.test(stderr)
// vnu-jar accepts multiple ignores joined with a `|`.
- // Also note that the ignores are regular expressions.
+ // Also note that the ignores are string regular expressions.
const ignores = [
- // IE11 doesn't recognize <main> / give the element an implicit "main" landmark.
- // Explicit role="main" is redundant for other modern browsers, but still valid.
- 'The “main” role is unnecessary for element “main”.'
].join('|')
const args = [