From cf6ecb9aad05ea32a21e285b1a8f9f07b6560695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Maru=C5=A1=C3=A1k?= Date: Tue, 5 Nov 2019 07:07:31 +0100 Subject: [PATCH] a11y: Every label tag needs an associated control Closes #13070 --- .eslintrc.json | 1 - pkg/networkmanager/index.html | 14 +++++++------- pkg/networkmanager/interfaces.js | 11 +++++++++-- pkg/playground/react-demo-dialog.jsx | 14 +++++++------- pkg/realmd/operation.html | 2 +- pkg/shell/index.html | 15 ++++++++++----- pkg/systemd/index.html | 8 ++++---- pkg/systemd/service-details.jsx | 2 +- pkg/tuned/dialog.js | 5 ++++- pkg/tuned/link.html | 2 +- test/verify/check-tuned | 20 ++++++++++---------- 11 files changed, 54 insertions(+), 40 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 3c684975d..9187022f9 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -52,7 +52,6 @@ "jsx-a11y/no-static-element-interactions": "off", "jsx-a11y/click-events-have-key-events": "off", - "jsx-a11y/label-has-associated-control": "off", "jsx-a11y/anchor-is-valid": "off", "jsx-a11y/no-autofocus": "off", "jsx-a11y/no-noninteractive-element-interactions": "off", diff --git a/pkg/networkmanager/index.html b/pkg/networkmanager/index.html index 0a3c1beff..9eb9c785f 100644 --- a/pkg/networkmanager/index.html +++ b/pkg/networkmanager/index.html @@ -156,7 +156,7 @@