From 55f9db9ca394ad6a0ebc9d940f90796dca0958a9 Mon Sep 17 00:00:00 2001 From: Tony Anziano Date: Thu, 22 Aug 2019 14:58:34 -0700 Subject: [PATCH] Fixed input grouping semantics in app settings editor. --- CHANGELOG.md | 1 + .../appSettingsEditor/appSettingsEditor.scss | 14 + .../appSettingsEditor/appSettingsEditor.tsx | 279 +++++++++--------- 3 files changed, 154 insertions(+), 140 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5356af70b..a3847bb4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Fixed - [main] Fixed bug where opening a chat via URL was sending two conversation updates in PR [1735](https://github.com/microsoft/BotFramework-Emulator/pull/1735) - [main] Fixed an issue where the Emulator was incorrectly sending the conversation id instead of an emulated OAuth token in PR [1738](https://github.com/microsoft/BotFramework-Emulator/pull/1738) +- [client] Fixed various accessibility issues in PR [1775](https://github.com/microsoft/BotFramework-Emulator/pull/1775), [1776](https://github.com/microsoft/BotFramework-Emulator/pull/1776) ## v4.5.2 - 2019 - 07 - 17 ## Fixed diff --git a/packages/app/client/src/ui/editor/appSettingsEditor/appSettingsEditor.scss b/packages/app/client/src/ui/editor/appSettingsEditor/appSettingsEditor.scss index f96e09209..692a5808a 100644 --- a/packages/app/client/src/ui/editor/appSettingsEditor/appSettingsEditor.scss +++ b/packages/app/client/src/ui/editor/appSettingsEditor/appSettingsEditor.scss @@ -24,6 +24,20 @@ } } + fieldset { + position: relative; + margin: 0; + padding: 0; + border: none; + } + + legend { + font-family: var(--default-font-family); + font-size: 19px; + font-weight: 200; + margin: 0 4px 16px 4px; + padding: 0; + } } .margin-bottom-row { diff --git a/packages/app/client/src/ui/editor/appSettingsEditor/appSettingsEditor.tsx b/packages/app/client/src/ui/editor/appSettingsEditor/appSettingsEditor.tsx index 494c63969..5b464ff09 100644 --- a/packages/app/client/src/ui/editor/appSettingsEditor/appSettingsEditor.tsx +++ b/packages/app/client/src/ui/editor/appSettingsEditor/appSettingsEditor.tsx @@ -32,16 +32,7 @@ // import { FrameworkSettings, frameworkDefault } from '@bfemulator/app-shared'; -import { - Checkbox, - Column, - PrimaryButton, - Row, - RowAlignment, - RowJustification, - SmallHeader, - TextField, -} from '@bfemulator/ui-react'; +import { Checkbox, Column, PrimaryButton, Row, RowAlignment, RowJustification, TextField } from '@bfemulator/ui-react'; import * as React from 'react'; import { ChangeEvent } from 'react'; @@ -112,142 +103,150 @@ export class AppSettingsEditor extends React.Component - Service -

- - ngrok - {' '} - is network tunneling software. The Bot Framework Emulator works with ngrok to communicate with bots hosted - remotely. Read the{' '} - - wiki page - {' '} - to learn more about using ngrok and how to download it. -

- - + Service +

+ + ngrok + {' '} + is network tunneling software. The Bot Framework Emulator works with ngrok to communicate with bots + hosted remotely. Read the{' '} + + wiki page + {' '} + to learn more about using ngrok and how to download it. +

+ + + + + - -
- - - - - - - - + + + + + + +
- User settings - - - - - - + User settings + + + - - Application Updates - - - Data Collection - - - Privacy statement - + + + + + +
+ Application Updates + + +
+
+ Data Collection + + + Privacy statement + +