diff --git a/src/platform/plugins/shared/console/public/application/components/variables/variables_editor.tsx b/src/platform/plugins/shared/console/public/application/components/variables/variables_editor.tsx index d5a9ec8acb424..815817120d35f 100644 --- a/src/platform/plugins/shared/console/public/application/components/variables/variables_editor.tsx +++ b/src/platform/plugins/shared/console/public/application/components/variables/variables_editor.tsx @@ -271,6 +271,9 @@ export const VariablesEditor = (props: Props) => { noItemsMessage={i18n.translate('console.variablesPage.table.noItemsMessage', { defaultMessage: 'No variables have been added yet', })} + tableCaption={i18n.translate('console.variablesPage.variablesTable.caption', { + defaultMessage: 'Defined Variables', + })} /> {isAddingVariable && ( diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.js index b5df0f1c5011e..bcf3ea52204d8 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.js +++ b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.js @@ -348,6 +348,12 @@ export class AutoFollowPatternTable extends PureComponent { 'data-test-subj': `cell_${column.field}`, })} data-test-subj="autoFollowPatternListTable" + tableCaption={i18n.translate( + 'xpack.crossClusterReplication.autoFollowPatternList.tableCaption', + { + defaultMessage: 'List of auto-follow patterns', + } + )} /> {this.renderLoading()} diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.js index 5d04fe8586a25..9cfa74f6341c2 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.js +++ b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.js @@ -319,6 +319,12 @@ export class FollowerIndicesTable extends PureComponent { return ( <> = ({ = ({ close, select ]} pagination={true} sorting={true} + tableCaption={i18n.translate('xpack.indexLifecycleMgmt.nodeAttrDetails.tableCaption', { + defaultMessage: 'Nodes that contain the attribute {selectedNodeAttrs}', + values: { selectedNodeAttrs }, + })} /> ); } diff --git a/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js index 16159c67cc76e..6914eeeb7d0af 100644 --- a/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js +++ b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js @@ -425,6 +425,9 @@ export class RemoteClusterTable extends Component { sorting={sorting} selection={selection} data-test-subj="remoteClusterListTable" + tableCaption={i18n.translate('xpack.remoteClusters.remoteClusterList.tableCaption', { + defaultMessage: 'Remote clusters list', + })} /> ); } diff --git a/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/field_list/field_list.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/field_list/field_list.js index 5cd271e324c63..a7f563444ae08 100644 --- a/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/field_list/field_list.js +++ b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/field_list/field_list.js @@ -8,6 +8,7 @@ import React from 'react'; import PropTypes from 'prop-types'; +import { i18n } from '@kbn/i18n'; import { EuiInMemoryTable, EuiEmptyPrompt } from '@elastic/eui'; export const FieldList = ({ @@ -69,6 +70,9 @@ export const FieldList = ({ sorting={true} noItemsMessage={message} data-test-subj={dataTestSubj} + tableCaption={i18n.translate('xpack.rollupJobs.fieldList.tableCaption', { + defaultMessage: 'Available fields', + })} /> ); }; diff --git a/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/components/field_chooser.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/components/field_chooser.js index 91eee6b6b8577..923435be062f5 100644 --- a/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/components/field_chooser.js +++ b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/components/field_chooser.js @@ -7,6 +7,7 @@ import React, { Component, Fragment } from 'react'; import PropTypes from 'prop-types'; +import { i18n } from '@kbn/i18n'; import { EuiBasicTable, @@ -128,6 +129,9 @@ export class FieldChooser extends Component { rowProps={getRowProps} responsive={false} data-test-subj={`${dataTestSubj}-table`} + tableCaption={i18n.translate('xpack.rollupJobs.fieldChooser.tableCaption', { + defaultMessage: 'Available rollup job fields', + })} /> diff --git a/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_table/policy_table.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_table/policy_table.tsx index 5ddd43dc23332..c3b0e36c547b0 100644 --- a/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_table/policy_table.tsx +++ b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_table/policy_table.tsx @@ -437,6 +437,9 @@ export const PolicyTable: React.FunctionComponent = ({ cellProps={() => ({ 'data-test-subj': 'cell', })} + tableCaption={i18n.translate('xpack.snapshotRestore.policyList.table.caption', { + defaultMessage: 'Snapshot lifecycle policies', + })} data-test-subj="policyTable" /> ); diff --git a/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_table/repository_table.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_table/repository_table.tsx index 3faf504e8428b..572b2e7b5eb96 100644 --- a/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_table/repository_table.tsx +++ b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_table/repository_table.tsx @@ -306,6 +306,9 @@ export const RepositoryTable: React.FunctionComponent = ({ cellProps={(item, field) => ({ 'data-test-subj': `${field.name}_cell`, })} + tableCaption={i18n.translate('xpack.snapshotRestore.repositoryList.table.tableCaption', { + defaultMessage: 'Registered repositories', + })} data-test-subj="repositoryTable" /> ); diff --git a/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/restore_table/restore_table.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/restore_table/restore_table.tsx index ce2a346c3ca7b..f930a8ffa0dd8 100644 --- a/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/restore_table/restore_table.tsx +++ b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/restore_table/restore_table.tsx @@ -185,6 +185,9 @@ export const RestoreTable: React.FunctionComponent = React.memo(({ restor return ( = ({ shards }) => { but this component treats a number of fields as required items={shards} columns={columns} diff --git a/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_table.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_table.tsx index 4fd6ba474f12d..d19391fc195b5 100644 --- a/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_table.tsx +++ b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_table.tsx @@ -297,6 +297,10 @@ export const SnapshotTable: React.FunctionComponent = (props: Props) => { }, }; + const snapshotTableCaption = i18n.translate('xpack.snapshotRestore.snapshotList.table.caption', { + defaultMessage: 'List of snapshots', + }); + return ( <> = (props: Props) => { 'data-test-subj': 'cell', })} data-test-subj="snapshotTable" + tableCaption={snapshotTableCaption} /> )} diff --git a/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx index 2741efc8b143f..9d254b5a03bad 100644 --- a/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx +++ b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx @@ -94,6 +94,12 @@ export const ExpandedRowHealthPane: FC = ({ health } compressed={true} pagination={issues.length > 10} sorting={sorting} + tableCaption={i18n.translate( + 'xpack.transform.transformList.transformDetails.healthPane.issuesTableCaption', + { + defaultMessage: 'Transform health issues', + } + )} /> )} diff --git a/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx index 21304b92666dc..2a0da2c75d8f0 100644 --- a/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx +++ b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx @@ -189,6 +189,12 @@ export const ExpandedRowMessagesPane: FC = ({ tran pagination={pagination} onChange={onChange} sorting={sorting} + tableCaption={i18n.translate( + 'xpack.transform.transformList.transformDetails.messagesPane.tableCaption', + { + defaultMessage: 'Transform audit messages', + } + )} /> ); diff --git a/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx index d138fef74d179..13c66c6ebbc33 100644 --- a/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx +++ b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx @@ -389,6 +389,9 @@ export const TransformList: FC = ({ selection={selection} sorting={sorting} search={search} + tableCaption={i18n.translate('xpack.transform.list.tableCaption', { + defaultMessage: 'Transform list', + })} data-test-subj={`transformListTable ${ isLoading || transformsLoading ? 'loading' : 'loaded' }`} diff --git a/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations_table.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations_table.tsx index 9b4f81ad5451c..54b8a7d0d7c9e 100644 --- a/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations_table.tsx +++ b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations_table.tsx @@ -99,6 +99,9 @@ const i18nTexts = { defaultMessage: 'Filter', } ), + tableCaption: i18n.translate('xpack.upgradeAssistant.kibanaDeprecations.table.tableCaption', { + defaultMessage: 'List of Kibana deprecations', + }), }; interface Props { @@ -269,6 +272,7 @@ export const KibanaDeprecationsTable: React.FunctionComponent = ({ })} data-test-subj="kibanaDeprecationsTable" tableLayout="auto" + tableCaption={i18nTexts.tableCaption} /> ); }; diff --git a/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx index d7b503dbe3d41..60ba15dcc9e8f 100644 --- a/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx +++ b/x-pack/platform/plugins/private/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx @@ -93,6 +93,12 @@ const i18nTexts = { defaultMessage: 'Status', } ), + tableCaption: i18n.translate( + 'xpack.upgradeAssistant.overview.systemIndices.featuresTableCaption', + { + defaultMessage: 'System indices migration status', + } + ), errorTooltipLabel: i18n.translate( 'xpack.upgradeAssistant.overview.systemIndices.errorTooltipLabel', { @@ -279,6 +285,7 @@ export const SystemIndicesFlyout = ({ itemIdToExpandedRowMap={expandedRows} pagination={true} sorting={true} + tableCaption={i18nTexts.tableCaption} /> )} diff --git a/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit_simulate.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit_simulate.tsx index 9cbc37c454446..f03187214f303 100644 --- a/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit_simulate.tsx +++ b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit_simulate.tsx @@ -331,6 +331,12 @@ export const JsonWatchEditSimulate = ({ diff --git a/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/simulate_watch_results_flyout.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/simulate_watch_results_flyout.tsx index 80da485a61ac2..62451e5613561 100644 --- a/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/simulate_watch_results_flyout.tsx +++ b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/simulate_watch_results_flyout.tsx @@ -256,6 +256,12 @@ export const SimulateWatchResultsFlyout = ({ { content = (
) => setPagination({ pageIndex: index, pageSize: size }) } diff --git a/x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/components/action_statuses_panel.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/components/action_statuses_panel.tsx index 06d13ff673bd0..2a68bce396173 100644 --- a/x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/components/action_statuses_panel.tsx +++ b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/components/action_statuses_panel.tsx @@ -268,6 +268,12 @@ export const ActionStatusesPanel = () => { pagination={PAGINATION} sorting={true} data-test-subj="watchActionStatusTable" + tableCaption={i18n.translate( + 'xpack.watcher.sections.watchDetail.watchActionStatusesTable.caption', + { + defaultMessage: 'Action statuses', + } + )} noItemsMessage={ { { = ({ const tableProps: EuiInMemoryTableProps = { tableLayout: 'auto', + tableCaption: i18n.translate('xpack.idxMgmt.componentTemplatesList.table.tableCaption', { + defaultMessage: 'Component templates list', + }), itemId: 'name', 'data-test-subj': 'componentTemplatesTable', sorting, diff --git a/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/relations_parameter.tsx b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/relations_parameter.tsx index 5a8ab9cef652c..040fcb56c0458 100644 --- a/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/relations_parameter.tsx +++ b/x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/relations_parameter.tsx @@ -232,6 +232,12 @@ export const RelationsParameter = () => { items={items} itemId="id" columns={columns} + tableCaption={i18n.translate( + 'xpack.idxMgmt.mappingsEditor.joinType.relationshipTable.caption', + { + defaultMessage: 'Defined relationships', + } + )} noItemsMessage={i18n.translate( 'xpack.idxMgmt.mappingsEditor.joinType.relationshipTable.emptyTableMessage', { diff --git a/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx index 188898dd7e14c..6927b87ae4600 100644 --- a/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx +++ b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/data_stream_list/data_stream_table/data_stream_table.tsx @@ -448,6 +448,9 @@ export const DataStreamTable: React.FunctionComponent = ({ 'data-test-subj': 'cell', })} data-test-subj="dataStreamTable" + tableCaption={i18n.translate('xpack.idxMgmt.dataStreamList.table.caption', { + defaultMessage: 'Data streams', + })} noItemsMessage={ = ({ pagination={pagination} sorting={sorting} onTableChange={onTableChange} + tableCaption={i18n.translate('xpack.idxMgmt.enrichPolicies.table.caption', { + defaultMessage: 'Enrich policies', + })} /> ); }; diff --git a/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/legacy_templates/template_table/template_table.tsx b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/legacy_templates/template_table/template_table.tsx index c9751add52fed..dd32d61d62c95 100644 --- a/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/legacy_templates/template_table/template_table.tsx +++ b/x-pack/platform/plugins/shared/index_management/public/application/sections/home/template_list/legacy_templates/template_table/template_table.tsx @@ -292,6 +292,9 @@ export const LegacyTemplateTable: React.FunctionComponent = ({ 'data-test-subj': 'cell', })} data-test-subj="legacyTemplateTable" + tableCaption={i18n.translate('xpack.idxMgmt.templateList.legacyTable.tableCaption', { + defaultMessage: 'Legacy index templates', + })} noItemsMessage={ = ({ 'data-test-subj': 'cell', })} data-test-subj="templateTable" + tableCaption={i18n.translate( + 'xpack.idxMgmt.templateList.table.indexTemplatesTableCaption', + { + defaultMessage: 'Index templates list', + } + )} noItemsMessage={ { ); const tableProps: EuiInMemoryTableProps = { 'data-test-subj': 'geoipDatabaseList', + tableCaption: i18n.translate('xpack.ingestPipelines.manageProcessors.geoip.list.tableCaption', { + defaultMessage: 'List of geoIP databases', + }), rowProps: () => ({ 'data-test-subj': 'geoipDatabaseListRow', }), diff --git a/x-pack/platform/plugins/shared/ingest_pipelines/public/application/sections/pipelines_list/table.tsx b/x-pack/platform/plugins/shared/ingest_pipelines/public/application/sections/pipelines_list/table.tsx index b537ca823c010..f14931ad138cf 100644 --- a/x-pack/platform/plugins/shared/ingest_pipelines/public/application/sections/pipelines_list/table.tsx +++ b/x-pack/platform/plugins/shared/ingest_pipelines/public/application/sections/pipelines_list/table.tsx @@ -228,6 +228,9 @@ export const PipelineTable: FunctionComponent = ({ const tableProps: EuiInMemoryTableProps = { itemId: 'name', 'data-test-subj': 'pipelinesTable', + tableCaption: i18n.translate('xpack.ingestPipelines.list.table.tableCaption', { + defaultMessage: 'List of ingest pipelines', + }), sorting, selection: { onSelectionChange: setSelection, diff --git a/x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_table.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_table.tsx index bbb44c75fe7f0..07b1061bb9cd6 100644 --- a/x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_table.tsx +++ b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_table.tsx @@ -6,6 +6,7 @@ */ import React from 'react'; +import { i18n } from '@kbn/i18n'; import { EuiBasicTable, EuiToolTip, EuiBadge } from '@elastic/eui'; import type { BreakdownItem } from '../../types'; @@ -42,5 +43,13 @@ export const HighlightDetailsTable = ({ breakdown }: Props) => { }, ]; - return ; + return ( + + ); };