فینورا پرو - سامانه جامع حسابداری و صدور فاکتور

fix(a11y): name visible search and filter controls

davoodmehraban89 committed Oct 31, 2026 at 00:16 UTC d6da5e45e3adac0f1e13abad92f10fc04bec10c9
1 file changed +4 -4
src/views/ContactsView.js
+4 -4
@@ -55,20 +55,20 @@ class ContactsViewImpl {
55 <div class="toolbar">
56 <div class="search-input-wrap">
57 <span class="icon">🔍</span>
58 - <input type="text" class="form-control" id="contactSearch" placeholder="جستجو بر اساس نام، تلفن یا کد ملی..." value="${this._esc(currentSearch)}" oninput="window.ContactsView._onSearch(this.value)" />
58 + <input type="text" class="form-control" id="contactSearch" aria-label="جستجوی اشخاص" placeholder="جستجو بر اساس نام، تلفن یا کد ملی..." value="${this._esc(currentSearch)}" oninput="window.ContactsView._onSearch(this.value)" />
59 </div>
60 - <select class="form-control" style="width:auto;min-width:130px" id="roleFilter" onchange="window.ContactsView._onFilterRole(this.value)">
60 + <select class="form-control" style="width:auto;min-width:130px" id="roleFilter" aria-label="نقش شخص" onchange="window.ContactsView._onFilterRole(this.value)">
61 <option value="all" ${currentRoleFilter === 'all' ? 'selected' : ''}>همه نقش‌ها</option>
62 <option value="customer" ${currentRoleFilter === 'customer' ? 'selected' : ''}>مشتری</option>
63 <option value="supplier" ${currentRoleFilter === 'supplier' ? 'selected' : ''}>تامین‌کننده</option>
64 <option value="both" ${currentRoleFilter === 'both' ? 'selected' : ''}>هر دو</option>
65 </select>
66 - <select class="form-control" style="width:auto;min-width:120px" id="typeFilter" onchange="window.ContactsView._onFilterType(this.value)">
66 + <select class="form-control" style="width:auto;min-width:120px" id="typeFilter" aria-label="نوع شخص" onchange="window.ContactsView._onFilterType(this.value)">
67 <option value="all" ${currentTypeFilter === 'all' ? 'selected' : ''}>همه انواع</option>
68 <option value="natural" ${currentTypeFilter === 'natural' ? 'selected' : ''}>حقیقی</option>
69 <option value="legal" ${currentTypeFilter === 'legal' ? 'selected' : ''}>حقوقی</option>
70 </select>
71 - <select class="form-control" style="width:auto;min-width:140px" onchange="window.ContactsView._onFilterBalance(this.value)">
71 + <select class="form-control" style="width:auto;min-width:140px" aria-label="فیلتر مانده اشخاص" onchange="window.ContactsView._onFilterBalance(this.value)">
72 <option value="" ${currentBalanceFilter === '' ? 'selected' : ''}>همه مانده‌ها</option>
73 <option value="debtor" ${currentBalanceFilter === 'debtor' ? 'selected' : ''}>فقط بدهکاران</option>
74 <option value="creditor" ${currentBalanceFilter === 'creditor' ? 'selected' : ''}>فقط بستانکاران</option>