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:
@@ -23,7 +23,7 @@ ob_start();
|
||||
if (!$row) { ?>
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title"><i class="fas fa-fw fa-envelope me-2"></i>Email</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" data-email-gone>That email is no longer in the queue - it may have been deleted.</div>
|
||||
<?php } else {
|
||||
@@ -65,7 +65,7 @@ if (!$row) { ?>
|
||||
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-envelope-open me-2"></i><strong><?= $subject ?></strong></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" data-email-view="<?= intval($row['email_id']) ?>">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user