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

@@ -135,7 +135,7 @@ $link_icons = ['asset' => ['fa-desktop', 'asset', 'assets'], 'credential' => ['f
<i class="fas fa-plus"></i><span class="d-none d-lg-inline ms-2">New Service</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">
<?php if ($can_edit && $client_url) { ?>
<a class="dropdown-item ajax-modal" href="#" data-modal-size="lg" data-modal-url="modals/import/import.php?<?= $client_url ?>kind=services">