Commit 79bbf04a authored by Bailey Berro's avatar Bailey Berro Committed by Commit Bot

Fix navigation stops on Parental Controls page

Previously, there were 3 navigation stops for Parental Controls:
1) Title of the row, 2) sub-text, and 3) Set Up button. With this
change there are now two stops: 1) Title of the row with sub-text
as description, and 2) Set Up button with sub-text as description.


Bug: 1012565
Change-Id: I5ebe2afe3d8b43a0ad7e60aeffcc5ea35a28eaab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1912697Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Commit-Queue: Bailey Berro <baileyberro@chromium.org>
Cr-Commit-Position: refs/heads/master@{#714980}
parent 4479097c
...@@ -30,15 +30,16 @@ ...@@ -30,15 +30,16 @@
</template> </template>
<template is="dom-if" if="[[!isChild_]]"> <template is="dom-if" if="[[!isChild_]]">
<div class="start settings-box-text"> <div class="start settings-box-text">
<div> <div id="label" aria-describedby="sub-label">
$i18n{parentalControlsPageTitle} $i18n{parentalControlsPageTitle}
</div> </div>
<div class="secondary"> <div class="secondary" id="sub-label" aria-hidden="true">
[[getSetupLabelText_(online_)]] [[getSetupLabelText_(online_)]]
</div> </div>
</div> </div>
<div class="separator"></div> <div class="separator"></div>
<cr-button on-click="handleSetupButtonClick_" disabled$="[[!online_]]"> <cr-button on-click="handleSetupButtonClick_" disabled$="[[!online_]]"
aria-describedby="sub-label">
$i18n{parentalControlsSetUpButtonLabel} $i18n{parentalControlsSetUpButtonLabel}
</cr-button> </cr-button>
</template> </template>
......
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