a11y fix on account page

This commit is contained in:
noraiz-anwar
2018-12-04 12:17:48 +05:00
committed by Noraiz Anwar
parent 3a302c78cb
commit cf94a662d4
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
<% }); %>
<% }); %>
</select>
<button class="u-field-value-display">
<button class="u-field-value-display" aria-haspopup="true">
<span class="sr"><%- screenReaderTitle %> &nbsp;</span>
<span class="u-field-value-readonly"></span>
<span class="sr">&nbsp; <%- gettext('Click to edit') %></span>

View File

@@ -35,7 +35,7 @@
<% }); %>
</select>
<span class="icon-caret-down" aria-hidden="true"></span>
<button class="u-field-value-display">
<button class="u-field-value-display" aria-haspopup="true">
<span class="sr"><%- screenReaderTitle %> &nbsp;</span>
<span class="u-field-value-readonly"></span>
<span class="sr"><%- gettext('Click to edit') %></span>