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

Issue 2273083002: [MD settings] using h2 for sub-headers consistently. (Closed)

Created:
4 years, 4 months ago by dschuyler
Modified:
3 years, 11 months ago
Reviewers:
Dan Beam, hcarmona
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD settings] using h2 for sub-headers consistently. This CL switches several differently styled sub-headers to all use h2 tags. This is good because it makes them all consistent and h2 is a good choice because screen readers may scan for h2 tags specifically to give the user context about what is on the screen. BUG=638461 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/a56e76de0f7e38f81f5be072f98a44516124b8bd Cr-Commit-Position: refs/heads/master@{#414621}

Patch Set 1 #

Total comments: 10

Patch Set 2 : including layout changes #

Patch Set 3 : fix for url layout #

Total comments: 7

Patch Set 4 : review changes #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -96 lines) Patch
M chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html View 1 5 chunks +12 lines, -13 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html View 1 2 5 chunks +20 lines, -20 lines 4 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/passwords_shared_css.html View 1 3 chunks +0 lines, -11 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/omnibox_extension_entry.html View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engine_entry.css View 1 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engine_entry.html View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engines_list.html View 1 2 3 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engines_page.html View 1 2 3 1 chunk +34 lines, -30 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_subpage.html View 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/settings_shared_css.html View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.html View 1 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 41 (28 generated)
dschuyler
https://codereview.chromium.org/2273083002/diff/1/chrome/browser/resources/settings/settings_page/settings_subpage.html File chrome/browser/resources/settings/settings_page/settings_subpage.html (right): https://codereview.chromium.org/2273083002/diff/1/chrome/browser/resources/settings/settings_page/settings_subpage.html#newcode44 chrome/browser/resources/settings/settings_page/settings_subpage.html:44: <h1>[[pageTitle]]</h1> This is the top header (not a sub-header) ...
4 years, 4 months ago (2016-08-24 18:56:15 UTC) #5
hcarmona
https://codereview.chromium.org/2273083002/diff/1/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html File chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html (right): https://codereview.chromium.org/2273083002/diff/1/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html#newcode75 chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html:75: <h2>$i18n{creditCards}</h2> Looks like this add some extra space between ...
4 years, 4 months ago (2016-08-24 23:41:21 UTC) #8
dschuyler
Thanks for looking it over. I was saving the layout changes for a follow up ...
4 years, 4 months ago (2016-08-25 02:00:54 UTC) #22
hcarmona
https://codereview.chromium.org/2273083002/diff/100001/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html File chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html (left): https://codereview.chromium.org/2273083002/diff/100001/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html#oldcode82 chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html:82: class="vertical-list list-section list-with-header"> Good catch. I didn't realize "list-section" ...
4 years, 3 months ago (2016-08-25 21:37:43 UTC) #25
dschuyler
https://codereview.chromium.org/2273083002/diff/100001/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html File chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html (left): https://codereview.chromium.org/2273083002/diff/100001/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html#oldcode82 chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html:82: class="vertical-list list-section list-with-header"> On 2016/08/25 21:37:43, Hector Carmona wrote: ...
4 years, 3 months ago (2016-08-25 22:25:06 UTC) #27
hcarmona
lgtm https://codereview.chromium.org/2273083002/diff/100001/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html File chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html (right): https://codereview.chromium.org/2273083002/diff/100001/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html#newcode39 chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html:39: <h2>$i18n{addresses}</h2> On 2016/08/25 22:25:05, dschuyler wrote: > On ...
4 years, 3 months ago (2016-08-25 22:27:59 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2273083002/120001
4 years, 3 months ago (2016-08-26 01:38:34 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:120001)
4 years, 3 months ago (2016-08-26 01:43:47 UTC) #34
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/a56e76de0f7e38f81f5be072f98a44516124b8bd Cr-Commit-Position: refs/heads/master@{#414621}
4 years, 3 months ago (2016-08-26 01:46:40 UTC) #36
Dan Beam
https://codereview.chromium.org/2273083002/diff/120001/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html File chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html (right): https://codereview.chromium.org/2273083002/diff/120001/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html#newcode50 chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html:50: <div class="settings-box first two-line"> why is this two-line?
3 years, 11 months ago (2017-01-10 22:28:01 UTC) #38
dschuyler
https://codereview.chromium.org/2273083002/diff/120001/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html File chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html (right): https://codereview.chromium.org/2273083002/diff/120001/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html#newcode50 chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html:50: <div class="settings-box first two-line"> On 2017/01/10 22:28:01, Dan Beam ...
3 years, 11 months ago (2017-01-10 22:54:40 UTC) #39
Dan Beam
https://codereview.chromium.org/2273083002/diff/120001/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html File chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html (right): https://codereview.chromium.org/2273083002/diff/120001/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html#newcode50 chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html:50: <div class="settings-box first two-line"> On 2017/01/10 22:54:40, dschuyler wrote: ...
3 years, 11 months ago (2017-01-10 22:58:55 UTC) #40
dschuyler
3 years, 11 months ago (2017-01-10 23:05:20 UTC) #41
Message was sent while issue was closed.
https://codereview.chromium.org/2273083002/diff/120001/chrome/browser/resourc...
File
chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
(right):

https://codereview.chromium.org/2273083002/diff/120001/chrome/browser/resourc...
chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html:50:
<div class="settings-box first two-line">
On 2017/01/10 22:58:55, Dan Beam wrote:
> On 2017/01/10 22:54:40, dschuyler wrote:
> > On 2017/01/10 22:28:01, Dan Beam wrote:
> > > why is this two-line?
> > 
> > Likely for the sub-label="". It may be nicer if this were better connected
to
> > the contents. And/or it may be nice to have two-line as an attribute for
> > two-line$="[[hasSubLabel]]" or similar.
> 
> connected to the contents like this?
>
https://cs.chromium.org/chromium/src/chrome/browser/resources/settings/contro...

Like that, yes.

Powered by Google App Engine
This is Rietveld 408576698