diff --git a/x-pack/solutions/observability/plugins/observability/public/components/alert_overview/alert_overview.tsx b/x-pack/solutions/observability/plugins/observability/public/components/alert_overview/alert_overview.tsx index 481629e26696c..6010229283a75 100644 --- a/x-pack/solutions/observability/plugins/observability/public/components/alert_overview/alert_overview.tsx +++ b/x-pack/solutions/observability/plugins/observability/public/components/alert_overview/alert_overview.tsx @@ -223,7 +223,15 @@ export const AlertOverview = memo( - + ); } diff --git a/x-pack/solutions/observability/plugins/slo/public/components/burn_rate_rule_editor/dependencies.tsx b/x-pack/solutions/observability/plugins/slo/public/components/burn_rate_rule_editor/dependencies.tsx index 929f3a5ad5203..8a38aab499f82 100644 --- a/x-pack/solutions/observability/plugins/slo/public/components/burn_rate_rule_editor/dependencies.tsx +++ b/x-pack/solutions/observability/plugins/slo/public/components/burn_rate_rule_editor/dependencies.tsx @@ -160,7 +160,13 @@ export function Dependencies({ currentRuleId, dependencies, onChange }: Dependen

- + {sloToAddRule ? ( { pageSize, showPerPageOptions: true, }} + tableCaption={i18n.translate('xpack.synthetics.ruleDetails.monitorsTable.caption', { + defaultMessage: 'Rule monitors', + })} /> ); }; diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/certificates/certificates_list.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/certificates/certificates_list.tsx index 2f0ba0643a601..20f8e9c6f9228 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/certificates/certificates_list.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/certificates/certificates_list.tsx @@ -9,6 +9,7 @@ import React from 'react'; import moment from 'moment'; import type { Direction } from '@elastic/eui'; import { EuiBasicTable } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; import type { Cert, CertMonitor, CertResult } from '../../../../../common/runtime_types'; import { useDateFormat } from '../../../../hooks/use_date_format'; import { CertStatus } from './cert_status'; @@ -104,6 +105,9 @@ export const CertificateList: React.FC = ({ page, certificates, sort, onC columns={columns} items={certificates?.certs ?? []} pagination={pagination} + tableCaption={i18n.translate('xpack.synthetics.certificates.certificatesList.tableCaption', { + defaultMessage: 'Certificates overview', + })} onChange={(newVal) => { onChange(newVal.page as Page, newVal.sort as CertSort); }} diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/components/stderr_logs.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/components/stderr_logs.tsx index 60cfce7e7a64e..5b1d1bf85f234 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/components/stderr_logs.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/components/stderr_logs.tsx @@ -154,6 +154,7 @@ export const StdErrorLogs = ({ pageSizeOptions: [2, 5, 10, 20, 50], }} onTableChange={onTableChange} + tableCaption={title ?? TEST_RUN_LOGS_LABEL} /> ); diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/browser_steps_list.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/browser_steps_list.tsx index b54d6e4fe8b94..7f55146e272eb 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/browser_steps_list.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/browser_steps_list.tsx @@ -324,6 +324,9 @@ export const BrowserStepsList = ({ defaultMessage: 'No data found', }) } + tableCaption={i18n.translate('xpack.synthetics.monitor.browserStepsList.caption', { + defaultMessage: 'Step results', + })} tableLayout="auto" itemId="_id" itemIdToExpandedRowMap={testNowMode || showExpand ? expandedMap : undefined} diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/test_runs_table.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/test_runs_table.tsx index 10be6e0ca9979..e903eddc9f3f0 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/test_runs_table.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/test_runs_table.tsx @@ -316,6 +316,9 @@ export const TestRunsTable = ({ } : undefined } + tableCaption={i18n.translate('xpack.synthetics.monitorDetails.summary.testRunsCaption', { + defaultMessage: 'Recent test runs', + })} /> ); diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/monitor_list.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/monitor_list.tsx index b13be3fe05cc4..62193a187b508 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/monitor_list.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/monitor_list.tsx @@ -126,6 +126,9 @@ export const MonitorList = ({ aria-label={i18n.translate('xpack.synthetics.management.monitorList.title', { defaultMessage: 'Synthetics monitors list', })} + tableCaption={i18n.translate('xpack.synthetics.management.monitorList.caption', { + defaultMessage: 'Synthetics monitors', + })} error={error?.body?.message} loading={loading} itemId="config_id" diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/overview/overview/compact_view/components/monitors_table.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/overview/overview/compact_view/components/monitors_table.tsx index 63b2c02e27718..0ee0350297de5 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/overview/overview/compact_view/components/monitors_table.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/overview/overview/compact_view/components/monitors_table.tsx @@ -4,6 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ +import { i18n } from '@kbn/i18n'; import React, { useCallback } from 'react'; import type { EuiTableRowProps } from '@elastic/eui'; import { EuiBasicTable } from '@elastic/eui'; @@ -74,6 +75,9 @@ export const MonitorsTable = ({ rowProps={getRowProps} data-test-subj="syntheticsCompactViewTable" tableLayout="auto" + tableCaption={i18n.translate('xpack.synthetics.monitorsTable.tableCaption', { + defaultMessage: 'Monitor status', + })} /> ); }; diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/settings/data_retention/dsl_retention_tab.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/settings/data_retention/dsl_retention_tab.tsx index 612140c2bff5a..c16fca2cf8f63 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/settings/data_retention/dsl_retention_tab.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/settings/data_retention/dsl_retention_tab.tsx @@ -32,6 +32,9 @@ export const DslRetentionTab = () => { loading={loading === true} columns={DSL_RETENTION_COLUMNS} tableLayout="auto" + tableCaption={i18n.translate('xpack.synthetics.dslRetention.table.caption', { + defaultMessage: 'Retention overview', + })} /> ); }; diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/test_now_mode/simple/ping_list/ping_list_table.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/test_now_mode/simple/ping_list/ping_list_table.tsx index bfadb7dbb2e97..304c2c6459f28 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/test_now_mode/simple/ping_list/ping_list_table.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/test_now_mode/simple/ping_list/ping_list_table.tsx @@ -127,6 +127,9 @@ export function PingListTable({ loading, error, pings, onChange }: Props) { defaultMessage: 'No history found', }) } + tableCaption={i18n.translate('xpack.synthetics.pingList.pingListCaption', { + defaultMessage: 'Ping history', + })} tableLayout="auto" onChange={onChange} /> diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/certificates/certificates_list.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/certificates/certificates_list.tsx index 97d5d20a82d6e..5c6964ad3df34 100644 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/certificates/certificates_list.tsx +++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/certificates/certificates_list.tsx @@ -7,6 +7,7 @@ import React from 'react'; import moment from 'moment'; +import { i18n } from '@kbn/i18n'; import type { Direction } from '@elastic/eui'; import { EuiBasicTable } from '@elastic/eui'; import { CertStatus } from './cert_status'; @@ -114,6 +115,9 @@ export const CertificateList: React.FC = ({ page, certificates, sort, onC direction: sort.direction, }, }} + tableCaption={i18n.translate('xpack.uptime.certificatesList.caption', { + defaultMessage: 'Certificates overview', + })} noItemsMessage={certificates.loading ? LOADING_CERTIFICATES : NO_CERTS_AVAILABLE} /> ); diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/ping_list/ping_list_table.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/ping_list/ping_list_table.tsx index 6d50bf42438e3..debe1239596fd 100644 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/ping_list/ping_list_table.tsx +++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/ping_list/ping_list_table.tsx @@ -240,6 +240,9 @@ export function PingListTable({ loading, error, pings, pagination, onChange, fai defaultMessage: 'No history found', }) } + tableCaption={i18n.translate('xpack.uptime.pingList.pingHistoryCaption', { + defaultMessage: 'Ping history', + })} tableLayout="auto" rowProps={getRowProps} onChange={onChange} diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/status_details/availability_reporting/availability_reporting.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/status_details/availability_reporting/availability_reporting.tsx index 3498dde3f756d..89d9525a34eca 100644 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/status_details/availability_reporting/availability_reporting.tsx +++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/monitor/status_details/availability_reporting/availability_reporting.tsx @@ -8,6 +8,7 @@ import React, { useState } from 'react'; import type { Criteria, Pagination } from '@elastic/eui'; import { EuiBasicTable, EuiSpacer } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; import type { StatusTag } from './location_status_tags'; import { TagLabel } from './tag_label'; @@ -81,6 +82,9 @@ export const AvailabilityReporting: React.FC = ({ allLocations }) => { columns={cols} items={allLocations.slice(pageIndex * pageSize, pageIndex * pageSize + pageSize)} onChange={onTableChange} + tableCaption={i18n.translate('xpack.uptime.availabilityReporting.tableCaption', { + defaultMessage: 'Availability overview', + })} {...paginationProps} /> diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/monitor_list/monitor_list.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/monitor_list/monitor_list.tsx index 2bfd6d6913104..72a4eeb4ac634 100644 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/monitor_list/monitor_list.tsx +++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/overview/monitor_list/monitor_list.tsx @@ -4,6 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ +import { i18n } from '@kbn/i18n'; import React, { useState } from 'react'; import useDebounce from 'react-use/lib/useDebounce'; import { @@ -224,6 +225,9 @@ export const MonitorListComponent: ({ ); diff --git a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/synthetics/check_steps/steps_list.tsx b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/synthetics/check_steps/steps_list.tsx index ab7e0c1b93238..8d3b49d99325d 100644 --- a/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/synthetics/check_steps/steps_list.tsx +++ b/x-pack/solutions/observability/plugins/uptime/public/legacy_uptime/components/synthetics/check_steps/steps_list.tsx @@ -236,6 +236,9 @@ export const StepsList = ({ );