{
id="xpack.security.management.editRoleMapping.switchToVisualEditorLink"
defaultMessage="Switch to visual editor"
/>{' '}
-
+
);
diff --git a/x-pack/platform/plugins/shared/security/public/management/role_mappings/edit_role_mapping/rule_editor_panel/rule_group_title.tsx b/x-pack/platform/plugins/shared/security/public/management/role_mappings/edit_role_mapping/rule_editor_panel/rule_group_title.tsx
index 614eff8c8bf82..33eac1e172690 100644
--- a/x-pack/platform/plugins/shared/security/public/management/role_mappings/edit_role_mapping/rule_editor_panel/rule_group_title.tsx
+++ b/x-pack/platform/plugins/shared/security/public/management/role_mappings/edit_role_mapping/rule_editor_panel/rule_group_title.tsx
@@ -77,7 +77,7 @@ export const RuleGroupTitle = (props: Props) => {
data-test-subj="ruleGroupTitle"
>
{props.rule.getDisplayTitle()}
- {readOnly === false && }
+ {readOnly === false && }
);
diff --git a/x-pack/platform/plugins/shared/security/public/management/role_table_display/role_table_display.tsx b/x-pack/platform/plugins/shared/security/public/management/role_table_display/role_table_display.tsx
index 9524bbaf2c5e5..c67871ec32554 100644
--- a/x-pack/platform/plugins/shared/security/public/management/role_table_display/role_table_display.tsx
+++ b/x-pack/platform/plugins/shared/security/public/management/role_table_display/role_table_display.tsx
@@ -9,6 +9,7 @@ import { EuiIcon, EuiLink, EuiToolTip } from '@elastic/eui';
import React from 'react';
import type { ApplicationStart } from '@kbn/core/public';
+import { i18n } from '@kbn/i18n';
import type { Role } from '../../../common';
import { getExtendedRoleDeprecationNotice, isRoleDeprecated } from '../../../common/model';
@@ -31,7 +32,17 @@ export const RoleTableDisplay = ({ role, navigateToApp }: Props) => {
data-test-subj="roleDeprecationTooltip"
>
- {role.name}
+ {role.name}{' '}
+
);
diff --git a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/collapsible_panel/collapsible_panel.tsx b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/collapsible_panel/collapsible_panel.tsx
index c5628eae02ffa..3cc3019b4e85c 100644
--- a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/collapsible_panel/collapsible_panel.tsx
+++ b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/collapsible_panel/collapsible_panel.tsx
@@ -55,6 +55,7 @@ const CollapsiblePanelTitle = ({
renders without crashing 1`] = `
class="euiTitle emotion-euiTitle-m"
>
diff --git a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/privilege_summary/privilege_summary_table.tsx b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/privilege_summary/privilege_summary_table.tsx
index 508b3309145f7..4622ddb37b041 100644
--- a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/privilege_summary/privilege_summary_table.tsx
+++ b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/privilege_summary/privilege_summary_table.tsx
@@ -16,6 +16,7 @@ import {
EuiInMemoryTable,
EuiSpacer,
EuiTitle,
+ EuiToolTip,
} from '@elastic/eui';
import React, { Fragment, useMemo, useState } from 'react';
@@ -126,12 +127,19 @@ export const PrivilegeSummaryTable = (props: PrivilegeSummaryTableProps) => {
return null;
}
return (
- toggleExpandedFeature(featureId)}
- data-test-subj={`expandPrivilegeSummaryRow`}
- aria-label={expandedFeatures.includes(featureId) ? 'Collapse' : 'Expand'}
- iconType={expandedFeatures.includes(featureId) ? 'chevronSingleUp' : 'chevronSingleDown'}
- />
+
+ toggleExpandedFeature(featureId)}
+ data-test-subj={`expandPrivilegeSummaryRow`}
+ aria-label={expandedFeatures.includes(featureId) ? 'Collapse' : 'Expand'}
+ iconType={
+ expandedFeatures.includes(featureId) ? 'chevronSingleUp' : 'chevronSingleDown'
+ }
+ />
+
);
},
};
@@ -180,7 +188,7 @@ export const PrivilegeSummaryTable = (props: PrivilegeSummaryTableProps) => {
/>
);
} else {
- iconTip = ;
+ iconTip = ;
}
return (
{
>
{category.euiIconType ? (
-
+
) : null}
diff --git a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/privilege_display.tsx b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/privilege_display.tsx
index f591bedf53049..b74ca6bfe81eb 100644
--- a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/privilege_display.tsx
+++ b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/privilege_display.tsx
@@ -11,6 +11,7 @@ import _ from 'lodash';
import type { FC, ReactNode } from 'react';
import React from 'react';
+import { i18n } from '@kbn/i18n';
import { constants } from '@kbn/security-ui-components';
interface Props extends PropsOf {
@@ -44,7 +45,16 @@ function getDisplayValue(privilege: string | string[] | undefined) {
(privileges.length === 1 && privileges.includes(constants.NO_PRIVILEGE_VALUE));
if (isPrivilegeMissing) {
- displayValue = ;
+ displayValue = (
+
+ );
} else {
displayValue = privileges.map((p) => _.upperFirst(p)).join(', ');
}
diff --git a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/privilege_space_table.tsx b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/privilege_space_table.tsx
index 197d243a37fd9..ebf3a98a576a0 100644
--- a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/privilege_space_table.tsx
+++ b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/privilege_space_table.tsx
@@ -17,6 +17,7 @@ import {
EuiIcon,
EuiIconTip,
EuiInMemoryTable,
+ EuiToolTip,
} from '@elastic/eui';
import React, { Component } from 'react';
@@ -187,7 +188,7 @@ export class PrivilegeSpaceTable extends Component {
? '*'
: basePrivilege;
- let icon = ;
+ let icon = ;
if (privilegeCalculator.hasSupersededInheritedPrivileges(record.privilegeIndex)) {
icon = (
@@ -224,38 +225,60 @@ export class PrivilegeSpaceTable extends Component {
{
render: (record: TableRow) => {
return (
- s.name).join(', ') },
}
)}
- color={'primary'}
- iconType={'pencil'}
- onClick={() => this.props.onEdit(record.privilegeIndex)}
- data-test-subj={`privilegeEditAction-${record.privilegeIndex}`}
- />
+ disableScreenReaderOutput
+ >
+ s.name).join(', ') },
+ }
+ )}
+ color={'primary'}
+ iconType={'pencil'}
+ onClick={() => this.props.onEdit(record.privilegeIndex)}
+ data-test-subj={`privilegeEditAction-${record.privilegeIndex}`}
+ />
+
);
},
},
{
render: (record: TableRow) => {
return (
- s.name).join(', ') },
}
)}
- color={'danger'}
- iconType={'trash'}
- onClick={() => this.onDeleteSpacePrivilege(record)}
- data-test-subj={`privilegeDeleteAction-${record.privilegeIndex}`}
- />
+ disableScreenReaderOutput
+ >
+ s.name).join(', ') },
+ }
+ )}
+ color={'danger'}
+ iconType={'trash'}
+ onClick={() => this.onDeleteSpacePrivilege(record)}
+ data-test-subj={`privilegeDeleteAction-${record.privilegeIndex}`}
+ />
+
);
},
},
diff --git a/x-pack/platform/plugins/shared/security/public/management/users/edit_user/change_password_modal.tsx b/x-pack/platform/plugins/shared/security/public/management/users/edit_user/change_password_modal.tsx
index e96fbf6eb41d8..4f2514ec7add0 100644
--- a/x-pack/platform/plugins/shared/security/public/management/users/edit_user/change_password_modal.tsx
+++ b/x-pack/platform/plugins/shared/security/public/management/users/edit_user/change_password_modal.tsx
@@ -237,7 +237,7 @@ export const ChangePasswordModal: FunctionComponent =
>
-
+
diff --git a/x-pack/platform/plugins/shared/security/public/session/session_expiration_modal.tsx b/x-pack/platform/plugins/shared/security/public/session/session_expiration_modal.tsx
index 8c13059c58a48..50029d43012dd 100644
--- a/x-pack/platform/plugins/shared/security/public/session/session_expiration_modal.tsx
+++ b/x-pack/platform/plugins/shared/security/public/session/session_expiration_modal.tsx
@@ -58,7 +58,13 @@ export const SessionExpirationModal: FunctionComponent
-
+
{i18n.translate('xpack.security.sessionExpirationModal.title', {
defaultMessage: 'Session timeout',
})}
diff --git a/x-pack/platform/plugins/shared/spaces/public/copy_saved_objects_to_space/components/copy_to_space_flyout_internal.tsx b/x-pack/platform/plugins/shared/spaces/public/copy_saved_objects_to_space/components/copy_to_space_flyout_internal.tsx
index 41d1a18bb9735..1fee73f9b504d 100644
--- a/x-pack/platform/plugins/shared/spaces/public/copy_saved_objects_to_space/components/copy_to_space_flyout_internal.tsx
+++ b/x-pack/platform/plugins/shared/spaces/public/copy_saved_objects_to_space/components/copy_to_space_flyout_internal.tsx
@@ -260,7 +260,7 @@ export const CopyToSpaceFlyoutInternal = (props: CopyToSpaceFlyoutProps) => {
-
+
@@ -277,7 +277,7 @@ export const CopyToSpaceFlyoutInternal = (props: CopyToSpaceFlyoutProps) => {
-
+
diff --git a/x-pack/platform/plugins/shared/spaces/public/management/components/enabled_features/feature_table.tsx b/x-pack/platform/plugins/shared/spaces/public/management/components/enabled_features/feature_table.tsx
index 96864ea714199..0fdf127a6dfdf 100644
--- a/x-pack/platform/plugins/shared/spaces/public/management/components/enabled_features/feature_table.tsx
+++ b/x-pack/platform/plugins/shared/spaces/public/management/components/enabled_features/feature_table.tsx
@@ -102,7 +102,7 @@ export class FeatureTable extends Component {
>
{category.euiIconType ? (
-
+
) : null}
diff --git a/x-pack/platform/plugins/shared/spaces/public/management/components/section_panel/section_panel.tsx b/x-pack/platform/plugins/shared/spaces/public/management/components/section_panel/section_panel.tsx
index cddd0548d27f2..8838eda5a0808 100644
--- a/x-pack/platform/plugins/shared/spaces/public/management/components/section_panel/section_panel.tsx
+++ b/x-pack/platform/plugins/shared/spaces/public/management/components/section_panel/section_panel.tsx
@@ -34,6 +34,7 @@ const SectionPanelTitle = ({
-
+
{i18n.translate(
'xpack.spaces.management.manageSpacePage.solutionViewSelect.searchOptionLabel',
{ defaultMessage: 'Elasticsearch' }
@@ -52,7 +52,7 @@ const getOptions = ({ size }: EuiThemeComputed): Array
-
+
{i18n.translate(
'xpack.spaces.management.manageSpacePage.solutionViewSelect.obltOptionLabel',
{ defaultMessage: 'Observability' }
@@ -65,7 +65,7 @@ const getOptions = ({ size }: EuiThemeComputed): Array
-
+
{i18n.translate(
'xpack.spaces.management.manageSpacePage.solutionViewSelect.securityOptionLabel',
{ defaultMessage: 'Security' }
@@ -78,7 +78,7 @@ const getOptions = ({ size }: EuiThemeComputed): Array
-
+
{i18n.translate(
'xpack.spaces.management.manageSpacePage.solutionViewSelect.classicOptionLabel',
{ defaultMessage: 'Classic' }
diff --git a/x-pack/platform/plugins/shared/spaces/public/management/edit_space/edit_space_content_tab.tsx b/x-pack/platform/plugins/shared/spaces/public/management/edit_space/edit_space_content_tab.tsx
index 5681502d93e4e..3f3bb9877045a 100644
--- a/x-pack/platform/plugins/shared/spaces/public/management/edit_space/edit_space_content_tab.tsx
+++ b/x-pack/platform/plugins/shared/spaces/public/management/edit_space/edit_space_content_tab.tsx
@@ -42,7 +42,7 @@ export const EditSpaceContentTab: FC<{ space: Space }> = ({ space }) => {
return (
-
+
{capitalize(displayName)}
diff --git a/x-pack/platform/plugins/shared/spaces/public/share_saved_objects_to_space/components/share_to_space_flyout_internal.tsx b/x-pack/platform/plugins/shared/spaces/public/share_saved_objects_to_space/components/share_to_space_flyout_internal.tsx
index f98b8590e3e05..a9c486ce8d016 100644
--- a/x-pack/platform/plugins/shared/spaces/public/share_saved_objects_to_space/components/share_to_space_flyout_internal.tsx
+++ b/x-pack/platform/plugins/shared/spaces/public/share_saved_objects_to_space/components/share_to_space_flyout_internal.tsx
@@ -482,7 +482,7 @@ export const ShareToSpaceFlyoutInternal = (props: ShareToSpaceFlyoutProps) => {
{flyoutIcon && (
-
+
)}
@@ -506,7 +506,7 @@ export const ShareToSpaceFlyoutInternal = (props: ShareToSpaceFlyoutProps) => {
{savedObjectTarget.icon && (
-
+
)}