Commit 3b6e76ce by ahsan-ul-haq

Merge pull request #6808 from edx/ahsan/tnl-1076-change-name-modal-accessibilty

Change name and email modal couple of accessibilty issues
parents 6cdaad58 1d855983
...@@ -312,12 +312,13 @@ ...@@ -312,12 +312,13 @@
<div id="change_email_body"> <div id="change_email_body">
<form id="change_email_form"> <form id="change_email_form">
<div id="change_email_error" class="modal-form-error"> </div> <div id="change_email_error" class="modal-form-error"> </div>
<fieldset>
<div class="input-group"> <div class="input-group">
<label>${_("Please enter your new email address:")}</label> <label>${_("Please enter your new email address:")}
<input id="new_email_field" type="email" value="" /> <input id="new_email_field" type="email" value="" />
<label>${_("Please confirm your password:")}</label> </label>
<input id="new_email_password" value="" type="password" /> <label>${_("Please confirm your password:")}
<input id="new_email_password" value="" type="password" />
</label>
</div> </div>
<section> <section>
<p>${_("We will send a confirmation to both {email} and your new email address as part of the process.").format(email=user.email)}</p> <p>${_("We will send a confirmation to both {email} and your new email address as part of the process.").format(email=user.email)}</p>
...@@ -325,7 +326,6 @@ ...@@ -325,7 +326,6 @@
<div class="submit"> <div class="submit">
<input type="submit" id="submit_email_change" value="${_("Change Email")}"/> <input type="submit" id="submit_email_change" value="${_("Change Email")}"/>
</div> </div>
</fieldset>
</form> </form>
</div> </div>
</div> </div>
...@@ -359,18 +359,18 @@ ...@@ -359,18 +359,18 @@
## Translators: note that {platform} {cert_name_short} will look something like: "edX certificate". Please do not change the order of these placeholders. ## Translators: note that {platform} {cert_name_short} will look something like: "edX certificate". Please do not change the order of these placeholders.
<p>${_("To uphold the credibility of your {platform} {cert_name_short}, all name changes will be recorded.").format(platform=settings.PLATFORM_NAME, cert_name_short=cert_name_short)}</p> <p>${_("To uphold the credibility of your {platform} {cert_name_short}, all name changes will be recorded.").format(platform=settings.PLATFORM_NAME, cert_name_short=cert_name_short)}</p>
<br/> <br/>
<fieldset>
<div class="input-group"> <div class="input-group">
## Translators: note that {platform} {cert_name_short} will look something like: "edX certificate". Please do not change the order of these placeholders. ## Translators: note that {platform} {cert_name_short} will look something like: "edX certificate". Please do not change the order of these placeholders.
<label>${_("Enter your desired full name, as it will appear on your {platform} {cert_name_short}:").format(platform=settings.PLATFORM_NAME, cert_name_short=cert_name_short)}</label> <label>${_("Enter your desired full name, as it will appear on your {platform} {cert_name_short}:").format(platform=settings.PLATFORM_NAME, cert_name_short=cert_name_short)}
<input id="new_name_field" value="" type="text" /> <input id="new_name_field" value="" type="text" />
<label>${_("Reason for name change:")}</label> </label>
<textarea id="name_rationale_field" value=""></textarea> <label>${_("Reason for name change:")}
<textarea id="name_rationale_field" value=""></textarea>
</label>
</div> </div>
<div class="submit"> <div class="submit">
<input type="submit" id="submit" value="${_("Change My Name")}"> <input type="submit" id="submit" value="${_("Change My Name")}">
</div> </div>
</fieldset>
</form> </form>
</div> </div>
</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