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

@@ -151,7 +151,7 @@ $hidden_filter_count = $date_filter_active ? 1 : 0;
<i class="fas fa-plus"></i><span class="d-none d-lg-inline ms-2">New Project</span>
</button>
<?php } ?>
<button type="button" class="btn btn-primary dropdown-toggle <?= $can_edit ? 'dropdown-toggle-split' : '' ?>" data-bs-toggle="dropdown"><?= $can_edit ? '' : '<i class="fas fa-ellipsis-v"></i>' ?></button>
<button type="button" class="btn btn-primary dropdown-toggle <?= $can_edit ? 'dropdown-toggle-split' : '' ?>" data-bs-toggle="dropdown" aria-label="More actions"><?= $can_edit ? '' : '<i class="fas fa-ellipsis-v"></i>' ?></button>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item ajax-modal" href="#" data-modal-url="<?= buildExportModalUrl('modals/project/project_export.php', ['client_id', 'client', 'manager', 'show', 'q']) ?>">
<i class="fas fa-fw fa-download me-2"></i>Export