mirror of
https://github.com/itflow-org/itflow
synced 2026-11-22 04:17:24 +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:
@@ -18,7 +18,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 One</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 document template no longer exists.</div>
|
||||
<?php } else {
|
||||
@@ -29,7 +29,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 One <small class="ms-1 opacity-75"><?= escapeHtml($template['document_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