Commit 66e4c254 by Chris

Merge pull request #7582 from edx/clrux/UX-1910-a11y-contribution-list

Changing lists to divs for some items
parents fc7b35c7 62cc1436
...@@ -101,27 +101,27 @@ ...@@ -101,27 +101,27 @@
</p> </p>
</div> </div>
<ul class="list-fields contribution-options"> <div class="list-fields contribution-options">
<% for ( var i = 0; i < suggestedPrices.length; i++ ) { <% for ( var i = 0; i < suggestedPrices.length; i++ ) {
price = suggestedPrices[i]; price = suggestedPrices[i];
%> %>
<li class="field contribution-option"> <div class="field contribution-option">
<input type="radio" name="contribution" value="<%- price %>" id="contribution-<%- price %>" /> <input type="radio" name="contribution" value="<%- price %>" id="contribution-<%- price %>" />
<label for="contribution-<%- price %>"> <label for="contribution-<%- price %>">
<span class="deco-denomination">$</span> <span class="deco-denomination">$</span>
<span class="label-value"><%- price %></span> <span class="label-value"><%- price %></span>
<span class="denomination-name"><%- currency %></span> <span class="denomination-name"><%- currency %></span>
</label> </label>
</li> </div>
<% } %> <% } %>
<li class="field contribution-option"> <div class="field contribution-option">
<ul class="field-group field-group-other"> <div class="field-group field-group-other">
<li class="contribution-option contribution-option-other1"> <div class="contribution-option contribution-option-other1">
<input type="radio" id="contribution-other" name="contribution" value="" /> <input type="radio" id="contribution-other" name="contribution" value="" />
<label for="contribution-other"><span class="sr">Other</span></label> <label for="contribution-other"><span class="sr">Other</span></label>
</li> </div>
<li class="contribution-option contribution-option-other2"> <div class="contribution-option contribution-option-other2">
<label for="contribution-other-amt"> <label for="contribution-other-amt">
<span class="sr">Other Amount</span> <span class="sr">Other Amount</span>
</label> </label>
...@@ -130,10 +130,10 @@ ...@@ -130,10 +130,10 @@
<input type="text" size="9" name="contribution-other-amt" id="contribution-other-amt" value=""/> <input type="text" size="9" name="contribution-other-amt" id="contribution-other-amt" value=""/>
<span class="denomination-name"><%- currency %></span> <span class="denomination-name"><%- currency %></span>
</div> </div>
</li> </div>
</ul> </div>
</li> </div>
</ul> </div>
</li> </li>
<% } else {%> <% } else {%>
...@@ -142,13 +142,13 @@ ...@@ -142,13 +142,13 @@
<div class="copy"> <div class="copy">
<p><%- gettext( "To complete your enrollment, you will need to pay:" ) %></p> <p><%- gettext( "To complete your enrollment, you will need to pay:" ) %></p>
</div> </div>
<ul class="list-fields contribution-options"> <div class="list-fields contribution-options">
<li class="field contribution-option"> <div class="field contribution-option">
<span class="deco-denomination">$</span> <span class="deco-denomination">$</span>
<span class="label-value"><%- minPrice %></span> <span class="label-value"><%- minPrice %></span>
<span class="denomination-name"><%- currency %></span> <span class="denomination-name"><%- currency %></span>
</li> </div>
</ul> </div>
</li> </li>
<% } %> <% } %>
</ol> </ol>
......
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