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

@@ -164,7 +164,7 @@ $filter_url = function ($changes) use ($client_url) {
<i class="fas fa-plus me-2"></i>New Credential
</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">
<?php if ($can_request) { ?>
<a class="dropdown-item ajax-modal" href="#" data-modal-url="modals/share/share_add.php?type=Request&amp;client_id=<?= intval($client_id) ?>">