Change page headlines to use h1 element. (#40637)

This commit is contained in:
Justin Kambic 2019-07-11 17:55:44 -04:00 committed by GitHub
parent 0166246fb8
commit 3b058c9638
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ export const MonitorPageTitleComponent = ({ data }: Props) =>
data && data.monitorPageTitle ? (
<EuiTitle size="xxs">
<EuiTextColor color="subdued">
<h4 data-test-subj="monitor-page-title">{data.monitorPageTitle.id}</h4>
<h1 data-test-subj="monitor-page-title">{data.monitorPageTitle.id}</h1>
</EuiTextColor>
</EuiTitle>
) : (

View file

@ -159,7 +159,7 @@ const Application = (props: UptimeAppProps) => {
>
<EuiFlexItem grow={false}>
<EuiTitle>
<h2>{headingText}</h2>
<h1>{headingText}</h1>
</EuiTitle>
</EuiFlexItem>
<EuiFlexItem grow={false}>