mirror of
https://github.com/itflow-org/itflow
synced 2026-11-23 21:07:22 +00:00
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:
@@ -17,7 +17,7 @@ ob_start();
|
||||
if (!$template) { ?>
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title"><i class="fas fa-fw fa-clipboard-check me-2"></i>Who Should Have It</h5>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body text-center text-secondary py-5">That license template no longer exists.</div>
|
||||
<?php } else {
|
||||
@@ -28,7 +28,7 @@ if (!$template) { ?>
|
||||
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-clipboard-check me-2"></i>Who Should Have It <small class="ms-1 opacity-75"><?= escapeHtml($template['software_template_name']) ?></small></h5>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||
|
||||
Reference in New Issue
Block a user