accessibility fix

This commit is contained in:
Rachid Mrad 2024-08-23 21:39:36 -04:00
parent c1df03d831
commit 778ad4de6f
No known key found for this signature in database
2 changed files with 6 additions and 3 deletions

View file

@ -883,4 +883,7 @@ ul.add-list-reset {
.submit-row .select2, .submit-row .select2,
.submit-row .select2 span { .submit-row .select2 span {
margin-top: 0; margin-top: 0;
} }
.transfer-user-selector .select2-selection__placeholder {
color: #3d4551!important;
}

View file

@ -38,7 +38,7 @@
<div class="module padding-4 display-flex flex-row flex-justify submit-row"> <div class="module padding-4 display-flex flex-row flex-justify submit-row">
<div class="desktop:flex-align-center"> <div class="desktop:flex-align-center">
<form method="GET" action="{% url 'transfer_user' current_user.pk %}"> <form class="transfer-user-selector" method="GET" action="{% url 'transfer_user' current_user.pk %}">
<label for="selected_user" class="text-middle">Select user to transfer data from:</label> <label for="selected_user" class="text-middle">Select user to transfer data from:</label>
<select name="selected_user" id="selected_user" class="admin-combobox margin-top-0" onchange="this.form.submit()"> <select name="selected_user" id="selected_user" class="admin-combobox margin-top-0" onchange="this.form.submit()">
<option value="">Select a user</option> <option value="">Select a user</option>
@ -226,4 +226,4 @@
</button> </button>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}