Commit 7c80e234 authored by dbeam's avatar dbeam Committed by Commit bot

downloads/bookmarks: change <h2> to <h1> for better screen reader semantics.

R=dmazzoni@chromium.org
BUG=428156

Review URL: https://codereview.chromium.org/701583002

Cr-Commit-Position: refs/heads/master@{#302484}
parent b760d724
......@@ -56,7 +56,7 @@ found in the LICENSE file.
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
<header>
<h2 i18n-content="title"></h2>
<h1 i18n-content="title"></h1>
<form>
<input type="search" id="term" i18n-values="placeholder:search_button"
autofocus incremental>
......
......@@ -13,7 +13,7 @@
</head>
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
<header>
<h2 i18n-content="downloads"></h2>
<h1 i18n-content="downloads"></h1>
<input id="term" type="search" tabindex=1
i18n-values="placeholder:searchbutton" autofocus incremental>
</header>
......
......@@ -25,7 +25,7 @@ header {
padding: 0 12px;
}
header h2 {
header h1 {
flex: 1;
/* TODO(dbeam): reconcile font/line-height/margin with chrome_shared.css */
font-size: 1.5em;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment