From 145b202bf4def023a52d8c282bbf225907f70483 Mon Sep 17 00:00:00 2001 From: Satyapriya Bai Date: Fri, 6 Dec 2024 11:00:42 +0530 Subject: [PATCH 1/2] [accessibility-3556824] : [Programmatic Access - Azure Cosmos DB- Data Explorer]: Keyboard focus indicator is not visible on controls inside the settings. --- less/documentDB.less | 8 ++++++++ src/Explorer/Panes/SettingsPane/SettingsPane.tsx | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/less/documentDB.less b/less/documentDB.less index acce65d6a..b397b6ef5 100644 --- a/less/documentDB.less +++ b/less/documentDB.less @@ -1830,6 +1830,14 @@ input::-webkit-calendar-picker-indicator::after { transform: rotate(90deg); } +.customAccordion button:focus { + .focus(); +} + +.customAccordion { + margin-top: 1px; +} + .datalist-arrow:after:hover { content: "\276F"; position: absolute; diff --git a/src/Explorer/Panes/SettingsPane/SettingsPane.tsx b/src/Explorer/Panes/SettingsPane/SettingsPane.tsx index 12b5a8c47..03d5c35a9 100644 --- a/src/Explorer/Panes/SettingsPane/SettingsPane.tsx +++ b/src/Explorer/Panes/SettingsPane/SettingsPane.tsx @@ -482,7 +482,7 @@ export const SettingsPane: FunctionComponent<{ explorer: Explorer }> = ({ return (
- + {shouldShowQueryPageOptions && ( From e99827754ca23f57e0fef28812e291d93e9b88ee Mon Sep 17 00:00:00 2001 From: Satyapriya Bai Date: Fri, 6 Dec 2024 11:32:06 +0530 Subject: [PATCH 2/2] Snapshots updated. --- .../SettingsPane/__snapshots__/SettingsPane.test.tsx.snap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Explorer/Panes/SettingsPane/__snapshots__/SettingsPane.test.tsx.snap b/src/Explorer/Panes/SettingsPane/__snapshots__/SettingsPane.test.tsx.snap index 8e7ffa387..e89ee345b 100644 --- a/src/Explorer/Panes/SettingsPane/__snapshots__/SettingsPane.test.tsx.snap +++ b/src/Explorer/Panes/SettingsPane/__snapshots__/SettingsPane.test.tsx.snap @@ -11,7 +11,7 @@ exports[`Settings Pane should render Default properly 1`] = ` className="paneMainContent ___133e6fg_0000000 f22iagw f1vx9l62 f1l02sjl" >