QoL 62: icon-only buttons have accessible names - every window close button has aria-label Close, and split-button carets and record page menus are named More actions

This commit is contained in:
johnnyq
2026-11-21 02:24:41 -05:00
parent f0b4e3419b
commit 9a58e2b315
401 changed files with 423 additions and 421 deletions

View File

@@ -97,7 +97,7 @@ $csrf = $_SESSION['csrf_token'];
<div class="card-tools">
<div class="btn-group">
<button type="button" class="btn btn-primary ajax-modal" data-modal-size="xl" data-modal-url="<?= $add_url ?>"><i class="fas fa-plus"></i><span class="d-none d-lg-inline ms-2">New Document Template</span></button>
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-label="More"></button>
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-label="More actions"></button>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item ajax-modal" href="#" data-modal-url="modals/document_template/document_template_import.php">
<i class="fas fa-fw fa-file-upload text-secondary me-2"></i>Import