From c1d5b4614529ec03f5b2cb80e3471b5c4c83966b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Tue, 14 Apr 2026 07:02:17 +0800 Subject: [PATCH] Add ARIA markup to icons, icon-only buttons, and pagination dropdown Co-Authored-By: Claude Opus 4.6 --- .../templates/accounting/account/detail.html | 14 +++++++------- .../accounting/account/include/form.html | 10 +++++----- .../templates/accounting/account/list.html | 8 ++++---- .../templates/accounting/account/order.html | 10 +++++----- .../accounting/base-account/detail.html | 2 +- .../accounting/base-account/list.html | 2 +- .../templates/accounting/currency/detail.html | 12 ++++++------ .../accounting/currency/include/form.html | 8 ++++---- .../templates/accounting/currency/list.html | 8 ++++---- .../templates/accounting/include/nav.html | 12 ++++++------ .../accounting/include/pagination.html | 2 +- .../journal-entry/disbursement/detail.html | 2 +- .../include/account-selector-modal.html | 2 +- .../journal-entry/include/detail.html | 16 ++++++++-------- .../journal-entry/include/form-currency.html | 4 ++-- .../include/form-debit-credit.html | 2 +- .../journal-entry/include/form-line-item.html | 4 ++-- .../accounting/journal-entry/include/form.html | 10 +++++----- .../journal-entry-line-item-editor-modal.html | 4 ++-- .../original-line-item-selector-modal.html | 2 +- .../accounting/journal-entry/order.html | 10 +++++----- .../journal-entry/receipt/detail.html | 2 +- .../templates/accounting/option/detail.html | 6 +++--- .../templates/accounting/option/form.html | 8 ++++---- .../include/form-recurring-expense-income.html | 2 +- .../option/include/form-recurring-item.html | 4 ++-- .../recurring-account-selector-modal.html | 2 +- .../add-journal-entry-material-fab.html | 4 ++-- .../report/include/toolbar-buttons.html | 18 +++++++++--------- .../templates/accounting/report/unmatched.html | 2 +- 30 files changed, 96 insertions(+), 96 deletions(-) diff --git a/src/accounting/templates/accounting/account/detail.html b/src/accounting/templates/accounting/account/detail.html index 4ac1a88..33547b8 100644 --- a/src/accounting/templates/accounting/account/detail.html +++ b/src/accounting/templates/accounting/account/detail.html @@ -27,28 +27,28 @@ First written: 2023/1/31
- + {{ A_("Back") }} {% if accounting_can_edit() %} - + {{ A_("Edit") }} {% endif %} - + {{ A_("Order") }} {% if accounting_can_edit() %} {% if obj.can_delete %} {% else %} {% endif %} @@ -57,8 +57,8 @@ First written: 2023/1/31 {% if accounting_can_edit() %} {% endif %} diff --git a/src/accounting/templates/accounting/account/include/form.html b/src/accounting/templates/accounting/account/include/form.html index c444913..a3807ce 100644 --- a/src/accounting/templates/accounting/account/include/form.html +++ b/src/accounting/templates/accounting/account/include/form.html @@ -29,7 +29,7 @@ First written: 2023/2/1 @@ -71,14 +71,14 @@ First written: 2023/2/1
-
@@ -94,7 +94,7 @@ First written: 2023/2/1
diff --git a/src/accounting/templates/accounting/account/list.html b/src/accounting/templates/accounting/account/list.html index b063588..948931e 100644 --- a/src/accounting/templates/accounting/account/list.html +++ b/src/accounting/templates/accounting/account/list.html @@ -28,7 +28,7 @@ First written: 2023/1/30
{% if accounting_can_edit() %} - + {{ A_("New") }} {% endif %} @@ -36,7 +36,7 @@ First written: 2023/1/30 @@ -45,8 +45,8 @@ First written: 2023/1/30 {% if accounting_can_edit() %} {% endif %} diff --git a/src/accounting/templates/accounting/account/order.html b/src/accounting/templates/accounting/account/order.html index 5f88c6a..e391d16 100644 --- a/src/accounting/templates/accounting/account/order.html +++ b/src/accounting/templates/accounting/account/order.html @@ -32,7 +32,7 @@ First written: 2023/2/2 @@ -51,21 +51,21 @@ First written: 2023/2/2 {{ account.code }} {{ account.title }}
- + {% endfor %}
-
diff --git a/src/accounting/templates/accounting/base-account/detail.html b/src/accounting/templates/accounting/base-account/detail.html index 408bda1..2f4b8e7 100644 --- a/src/accounting/templates/accounting/base-account/detail.html +++ b/src/accounting/templates/accounting/base-account/detail.html @@ -27,7 +27,7 @@ First written: 2023/2/1 diff --git a/src/accounting/templates/accounting/base-account/list.html b/src/accounting/templates/accounting/base-account/list.html index 9a6bcc3..e20a36c 100644 --- a/src/accounting/templates/accounting/base-account/list.html +++ b/src/accounting/templates/accounting/base-account/list.html @@ -30,7 +30,7 @@ First written: 2023/1/26 diff --git a/src/accounting/templates/accounting/currency/detail.html b/src/accounting/templates/accounting/currency/detail.html index 538a979..3058eeb 100644 --- a/src/accounting/templates/accounting/currency/detail.html +++ b/src/accounting/templates/accounting/currency/detail.html @@ -27,24 +27,24 @@ First written: 2023/2/6
- + {{ A_("Back") }} {% if accounting_can_edit() %} - + {{ A_("Edit") }} {% endif %} {% if accounting_can_edit() %} {% if obj.can_delete %} {% else %} {% endif %} @@ -53,8 +53,8 @@ First written: 2023/2/6 {% if accounting_can_edit() %} {% endif %} diff --git a/src/accounting/templates/accounting/currency/include/form.html b/src/accounting/templates/accounting/currency/include/form.html index 729dbcb..0f576d9 100644 --- a/src/accounting/templates/accounting/currency/include/form.html +++ b/src/accounting/templates/accounting/currency/include/form.html @@ -29,7 +29,7 @@ First written: 2023/2/6 @@ -53,14 +53,14 @@ First written: 2023/2/6
-
diff --git a/src/accounting/templates/accounting/currency/list.html b/src/accounting/templates/accounting/currency/list.html index c700a5a..d845d01 100644 --- a/src/accounting/templates/accounting/currency/list.html +++ b/src/accounting/templates/accounting/currency/list.html @@ -28,7 +28,7 @@ First written: 2023/2/6
{% if accounting_can_edit() %} - + {{ A_("New") }} {% endif %} @@ -36,7 +36,7 @@ First written: 2023/2/6 @@ -45,8 +45,8 @@ First written: 2023/2/6 {% if accounting_can_edit() %} {% endif %} diff --git a/src/accounting/templates/accounting/include/nav.html b/src/accounting/templates/accounting/include/nav.html index 01b83e1..09c5f13 100644 --- a/src/accounting/templates/accounting/include/nav.html +++ b/src/accounting/templates/accounting/include/nav.html @@ -23,38 +23,38 @@ First written: 2023/1/26 {% if accounting_can_view() %}
-
diff --git a/src/accounting/templates/accounting/journal-entry/include/form.html b/src/accounting/templates/accounting/journal-entry/include/form.html index 0482668..e14c2a0 100644 --- a/src/accounting/templates/accounting/journal-entry/include/form.html +++ b/src/accounting/templates/accounting/journal-entry/include/form.html @@ -34,7 +34,7 @@ First written: 2023/2/26 @@ -60,7 +60,7 @@ First written: 2023/2/26
@@ -76,14 +76,14 @@ First written: 2023/2/26
-
diff --git a/src/accounting/templates/accounting/journal-entry/include/journal-entry-line-item-editor-modal.html b/src/accounting/templates/accounting/journal-entry/include/journal-entry-line-item-editor-modal.html index a122989..16b77fe 100644 --- a/src/accounting/templates/accounting/journal-entry/include/journal-entry-line-item-editor-modal.html +++ b/src/accounting/templates/accounting/journal-entry/include/journal-entry-line-item-editor-modal.html @@ -39,8 +39,8 @@ First written: 2023/2/25
-
diff --git a/src/accounting/templates/accounting/journal-entry/include/original-line-item-selector-modal.html b/src/accounting/templates/accounting/journal-entry/include/original-line-item-selector-modal.html index c931964..b35ed7c 100644 --- a/src/accounting/templates/accounting/journal-entry/include/original-line-item-selector-modal.html +++ b/src/accounting/templates/accounting/journal-entry/include/original-line-item-selector-modal.html @@ -30,7 +30,7 @@ First written: 2023/2/25
diff --git a/src/accounting/templates/accounting/journal-entry/order.html b/src/accounting/templates/accounting/journal-entry/order.html index 5baf06f..b676636 100644 --- a/src/accounting/templates/accounting/journal-entry/order.html +++ b/src/accounting/templates/accounting/journal-entry/order.html @@ -32,7 +32,7 @@ First written: 2023/2/26 @@ -50,21 +50,21 @@ First written: 2023/2/26 {% with journal_entry = item %} {% include "accounting/journal-entry/include/order-journal-entry.html" %} {% endwith %} - + {% endfor %}
-
diff --git a/src/accounting/templates/accounting/journal-entry/receipt/detail.html b/src/accounting/templates/accounting/journal-entry/receipt/detail.html index 8255817..25fba96 100644 --- a/src/accounting/templates/accounting/journal-entry/receipt/detail.html +++ b/src/accounting/templates/accounting/journal-entry/receipt/detail.html @@ -23,7 +23,7 @@ First written: 2023/2/26 {% block as_transfer %} - + {{ A_("As Transfer") }} {% endblock %} diff --git a/src/accounting/templates/accounting/option/detail.html b/src/accounting/templates/accounting/option/detail.html index f73b986..8e85c37 100644 --- a/src/accounting/templates/accounting/option/detail.html +++ b/src/accounting/templates/accounting/option/detail.html @@ -27,14 +27,14 @@ First written: 2023/3/22 diff --git a/src/accounting/templates/accounting/option/form.html b/src/accounting/templates/accounting/option/form.html index 8238816..895ba32 100644 --- a/src/accounting/templates/accounting/option/form.html +++ b/src/accounting/templates/accounting/option/form.html @@ -32,7 +32,7 @@ First written: 2023/3/22 @@ -76,14 +76,14 @@ First written: 2023/3/22
-
diff --git a/src/accounting/templates/accounting/option/include/form-recurring-expense-income.html b/src/accounting/templates/accounting/option/include/form-recurring-expense-income.html index cd126e1..5a69cd5 100644 --- a/src/accounting/templates/accounting/option/include/form-recurring-expense-income.html +++ b/src/accounting/templates/accounting/option/include/form-recurring-expense-income.html @@ -33,7 +33,7 @@ First written: 2023/3/22
diff --git a/src/accounting/templates/accounting/option/include/form-recurring-item.html b/src/accounting/templates/accounting/option/include/form-recurring-item.html index f808a86..b5e9a55 100644 --- a/src/accounting/templates/accounting/option/include/form-recurring-item.html +++ b/src/accounting/templates/accounting/option/include/form-recurring-item.html @@ -36,8 +36,8 @@ First written: 2023/3/22
-
diff --git a/src/accounting/templates/accounting/option/include/recurring-account-selector-modal.html b/src/accounting/templates/accounting/option/include/recurring-account-selector-modal.html index 6532bb2..bd62f2f 100644 --- a/src/accounting/templates/accounting/option/include/recurring-account-selector-modal.html +++ b/src/accounting/templates/accounting/option/include/recurring-account-selector-modal.html @@ -30,7 +30,7 @@ First written: 2023/3/22
diff --git a/src/accounting/templates/accounting/report/include/add-journal-entry-material-fab.html b/src/accounting/templates/accounting/report/include/add-journal-entry-material-fab.html index dd04b9c..f3ab43b 100644 --- a/src/accounting/templates/accounting/report/include/add-journal-entry-material-fab.html +++ b/src/accounting/templates/accounting/report/include/add-journal-entry-material-fab.html @@ -32,8 +32,8 @@ First written: 2023/2/25 {{ A_("Transfer") }} - {% endif %} diff --git a/src/accounting/templates/accounting/report/include/toolbar-buttons.html b/src/accounting/templates/accounting/report/include/toolbar-buttons.html index 73b1977..e4a0c11 100644 --- a/src/accounting/templates/accounting/report/include/toolbar-buttons.html +++ b/src/accounting/templates/accounting/report/include/toolbar-buttons.html @@ -22,7 +22,7 @@ First written: 2023/3/8 {% if accounting_can_edit() %}