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

@@ -175,7 +175,7 @@ $size = function ($mb) {
<?php } ?>
<button type="button" class="btn btn-light ajax-modal" data-modal-url="modals/managed_instance/managed_instance_form.php?id=<?= $instance_id ?>"><i class="fas fa-fw fa-edit me-2"></i>Edit</button>
<div class="dropdown">
<button class="btn btn-light" type="button" data-bs-toggle="dropdown" title="More"><i class="fas fa-fw fa-ellipsis-v"></i></button>
<button class="btn btn-light" type="button" data-bs-toggle="dropdown" title="More actions"><i class="fas fa-fw fa-ellipsis-v"></i></button>
<div class="dropdown-menu dropdown-menu-end">
<?php if ($can_act) { ?>
<a class="dropdown-item" href="post.php?managed_command=check_updates&id=<?= $instance_id ?>&csrf_token=<?= $csrf ?>" title="It checks at its next check-in, and the answer comes with the one after"><i class="fas fa-fw fa-sync-alt text-secondary me-2"></i>Check for Updates</a>