firewall: added cell role to commands column on Nat page (#7620)

Since the commands column is marked as a table header, screen readers will read the buttons every time a user navigates to a cell anywhere in that column. This causes a lot of extra speech output. Adding role="cell" to the commands column will suppress this.
This commit is contained in:
Jason Fayre 2024-07-14 13:34:29 -04:00 committed by GitHub
parent 4569d045cc
commit ba2a4605c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -339,7 +339,7 @@ $( document ).ready(function() {
<th><?=gettext("IP");?></th>
<th><?=gettext("Ports");?></th>
<th><?=gettext("Description");?></th>
<th class="text-nowrap">
<th role="cell" class="text-nowrap">
<a href="firewall_nat_edit.php" class="btn btn-primary btn-xs" data-toggle="tooltip" title="<?= html_safe(gettext('Add')) ?>">
<i class="fa fa-plus fa-fw"></i>
</a>