Skip to content

Commit

Permalink
make all region labels sentence-case
Browse files Browse the repository at this point in the history
  • Loading branch information
beyackle committed May 12, 2020
1 parent d92c28a commit bca8a71
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const PropertyEditor: React.FC = () => {
}}
onResizeStop={handleResize}
>
<div css={formEditor} aria-label={formatMessage('form editor')} data-testid="PropertyEditor" role="region">
<div css={formEditor} aria-label={formatMessage('Form editor')} data-testid="PropertyEditor" role="region">
<Extension shell={shellApi} shellData={shellData} plugins={plugins}>
<AdaptiveForm
errors={errors}
Expand Down
2 changes: 1 addition & 1 deletion Composer/packages/client/src/pages/design/VisualEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const VisualEditor: React.FC<VisualEditorProps> = props => {
<React.Fragment>
<div
css={visualEditor(triggerButtonVisible || !selected)}
aria-label={formatMessage('visual editor')}
aria-label={formatMessage('Visual editor')}
ref={addRef}
data-testid="VisualEditor"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const LGPage: React.FC<LGPageProps> = props => {
dialogId={dialogId}
regionName={formatMessage('LG Navigation Pane')}
/>
<div css={contentEditor} data-testid="LGEditor" role="region" aria-label={formatMessage('LG Editor')}>
<div css={contentEditor} data-testid="LGEditor" role="region" aria-label={formatMessage('LG editor')}>
<Suspense fallback={<LoadingSpinner />}>
<Router primary={false} component={Fragment}>
<CodeEditor path="/edit/*" dialogId={dialogId} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export const NotificationList: React.FC<INotificationListProps> = props => {

return (
<div role="main" css={listRoot} data-testid="notifications-table-view">
<div css={tableView} role="region" aria-label={formatMessage('notification list')}>
<div css={tableView} role="region" aria-label={formatMessage('Notification list')}>
<ScrollablePane scrollbarVisibility={ScrollbarVisibility.auto}>
<DetailsList
css={detailList}
Expand Down
4 changes: 2 additions & 2 deletions Composer/packages/client/src/pages/publish/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ const Publish: React.FC<PublishPageProps> = props => {
<h1 css={HeaderText}>{selectedTarget ? selectedTargetName : formatMessage('Publish Profiles')}</h1>
</div>
<div role="main" css={ContentStyle} data-testid="Publish">
<div css={projectContainer} role="region" aria-label={formatMessage('navigation panel')}>
<div css={projectContainer} role="region" aria-label={formatMessage('Navigation panel')}>
<div
key={'_all'}
onClick={() => {
Expand Down Expand Up @@ -431,7 +431,7 @@ const Publish: React.FC<PublishPageProps> = props => {
/>
)}
</div>
<div css={contentEditor} role="region" aria-label={formatMessage('list view')}>
<div css={contentEditor} role="region" aria-label={formatMessage('List view')}>
<Fragment>
<PublishStatusList
items={thisPublishHistory}
Expand Down
4 changes: 2 additions & 2 deletions Composer/packages/client/src/pages/setting/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const SettingPage: React.FC<RouteComponentProps<{ '*': string }>> = props => {
<ToolBar toolbarItems={toolbarItems} />
<MainContent>
<Fragment>
<div css={fileList} role="region" aria-label={formatMessage('settings menu')}>
<div css={fileList} role="region" aria-label={formatMessage('Settings menu')}>
<Tree variant="large">
<Nav
initialSelectedKey={props['*'] || 'dialog-settings'}
Expand All @@ -78,7 +78,7 @@ const SettingPage: React.FC<RouteComponentProps<{ '*': string }>> = props => {
/>
</Tree>
</div>
<Conversation css={contentEditor} role="region" aria-label={formatMessage('settings editor')}>
<Conversation css={contentEditor} role="region" aria-label={formatMessage('Settings editor')}>
<Routes />
</Conversation>
</Fragment>
Expand Down
2 changes: 1 addition & 1 deletion Composer/packages/client/src/pages/skills/skill-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const SkillList: React.FC<ISkillListProps> = props => {

return (
<React.Fragment>
<div css={TableView} role="region" aria-label={formatMessage('list view')}>
<div css={TableView} role="region" aria-label={formatMessage('List view')}>
<ScrollablePane scrollbarVisibility={ScrollbarVisibility.auto}>
<DetailsList
items={skills}
Expand Down

0 comments on commit bca8a71

Please sign in to comment.