From d2283cf7993b3233b3e5dabe295533f7c39cecfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Farkas?= Date: Mon, 20 Dec 2021 10:11:00 +0100 Subject: [PATCH] influxdb: config: accessibility fixes (#43260) --- .../plugins/datasource/influxdb/components/ConfigEditor.tsx | 2 ++ .../components/__snapshots__/ConfigEditor.test.tsx.snap | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/public/app/plugins/datasource/influxdb/components/ConfigEditor.tsx b/public/app/plugins/datasource/influxdb/components/ConfigEditor.tsx index c4513b61a8c..e742899e8ba 100644 --- a/public/app/plugins/datasource/influxdb/components/ConfigEditor.tsx +++ b/public/app/plugins/datasource/influxdb/components/ConfigEditor.tsx @@ -112,6 +112,7 @@ export class ConfigEditor extends PureComponent { isConfigured={(secureJsonFields && secureJsonFields.token) as boolean} value={secureJsonData.token || ''} label="Token" + aria-label="Token" labelWidth={10} inputWidth={20} onReset={this.onResetToken} @@ -212,6 +213,7 @@ export class ConfigEditor extends PureComponent { isConfigured={(secureJsonFields && secureJsonFields.password) as boolean} value={secureJsonData.password || ''} label="Password" + aria-label="Password" labelWidth={10} inputWidth={20} onReset={this.onResetPassword} diff --git a/public/app/plugins/datasource/influxdb/components/__snapshots__/ConfigEditor.test.tsx.snap b/public/app/plugins/datasource/influxdb/components/__snapshots__/ConfigEditor.test.tsx.snap index 64668b0c6b9..1a95f9d7ccc 100644 --- a/public/app/plugins/datasource/influxdb/components/__snapshots__/ConfigEditor.test.tsx.snap +++ b/public/app/plugins/datasource/influxdb/components/__snapshots__/ConfigEditor.test.tsx.snap @@ -169,6 +169,7 @@ exports[`Render should disable basic auth password input 1`] = ` className="gf-form" >