Commit d758773c authored by johnnyg@chromium.org's avatar johnnyg@chromium.org

Use labels for the new radio buttons in the sync dialogs.

BUG=70265
TEST=setup sync, encryption tab radio buttons should support clicking on labels

Review URL: http://codereview.chromium.org/6271023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72655 0039d316-1c4b-4281-b951-d872f2087c98
parent 2a521c50
...@@ -566,17 +566,17 @@ html[os='mac'] input[type='submit'] { ...@@ -566,17 +566,17 @@ html[os='mac'] input[type='submit'] {
<div> <div>
<input id="google-option" name="option" type="radio" <input id="google-option" name="option" type="radio"
value="google" onchange="onRadioChange();"> value="google" onchange="onRadioChange();">
<span i18n-content="googleOption"></span> <label for="google-option" i18n-content="googleOption"></label>
</input> </input>
</div> </div>
<div> <div>
<input id="explicit-option" name="option" type="radio" <input id="explicit-option" name="option" type="radio" value="explicit"
value="explicit" onchange="onRadioChange();"> onchange="onRadioChange();">
<div id="learn-more-link"> <div id="learn-more-link">
<a i18n-values="href:encryptionhelpurl" target="_blank" <a i18n-values="href:encryptionhelpurl" target="_blank"
i18n-content="learnmore"></a> i18n-content="learnmore"></a>
</div> </div>
<span i18n-content="explicitOption"></span> <label for="explicit-option" i18n-content="explicitOption"></label>
</input> </input>
</div> </div>
......
...@@ -148,22 +148,25 @@ html[os='mac'] input[type='submit'] { ...@@ -148,22 +148,25 @@ html[os='mac'] input[type='submit'] {
<div class="sync-instructions" id="instructions" <div class="sync-instructions" id="instructions"
i18n-content="instructions"></div> i18n-content="instructions"></div>
<div> <div>
<input name="option" type="radio" value="google" onchange="onRadioChange();"> <input name="option" type="radio" value="google"
<span i18n-content="googleOption"></span> id="google-option" onchange="onRadioChange();">
<label for="google-option" i18n-content="googleOption"></label>
</input> </input>
</div> </div>
<div> <div>
<input name="option" type="radio" value="explicit" onchange="onRadioChange();"> <input name="option" type="radio" value="explicit"
id="explicit-option" onchange="onRadioChange();">
<div id="learn-more-link"> <div id="learn-more-link">
<a i18n-values="href:encryptionhelpurl" target="_blank" <a i18n-values="href:encryptionhelpurl" target="_blank"
i18n-content="learnmore"></a> i18n-content="learnmore"></a>
</div> </div>
<span i18n-content="explicitOption"></span> <label for="explicit-option" i18n-content="explicitOption"></label>
</input> </input>
</div> </div>
<div> <div>
<input name="option" type="radio" value="nothanks" onchange="onRadioChange();"> <input name="option" type="radio" value="nothanks"
<span i18n-content="nothanksOption"></span> id="nothanks-option" onchange="onRadioChange();">
<label for="nothanks-option" i18n-content="nothanksOption"></label>
</input> </input>
</div> </div>
......
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