Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Unified Diff: chrome/browser/resources/settings/settings_main/settings_main.html

Issue 2393583002: Make the 'Advanced' button into an h2 for easier a11y navigation. (Closed)
Patch Set: font: inherit Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_main/settings_main.html
diff --git a/chrome/browser/resources/settings/settings_main/settings_main.html b/chrome/browser/resources/settings/settings_main/settings_main.html
index 5990eceac019f28e93e72257b2608d59113fd847..8790a7c433bdecbbff73583a719b61faecca514f 100644
--- a/chrome/browser/resources/settings/settings_main/settings_main.html
+++ b/chrome/browser/resources/settings/settings_main/settings_main.html
@@ -33,7 +33,10 @@
#toggleContainer {
align-items: center;
display: flex;
+ font: inherit;
justify-content: center;
+ margin-bottom: 0;
+ margin-top: 0;
}
#toggleSpacer {
@@ -73,13 +76,13 @@
<template is="dom-if" if="[[showAdvancedToggle_(
showPages_.basic, hasExpandedSection_, inSearchMode_)]]">
<div id="toggleSpacer"></div>
- <div id="toggleContainer">
+ <h2 id="toggleContainer">
<paper-button id="advancedToggle" on-tap="toggleAdvancedPage_">
<span>$i18n{advancedPageTitle}</span>
<iron-icon icon="[[arrowState_(advancedToggleExpanded_)]]">
</iron-icon>
</paper-button>
- </div>
+ </h2>
</template>
<template is="dom-if" if="[[showAdvancedPage_(
showPages_.advanced, inSearchMode_, hasExpandedSection_)]]">
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698