firewall: added presentation role to edit rules table (#7618)

For tables that are purely used for presentation as opposed to data, using the role="presentation" attribute prevents extra announcements from screen readers.
This commit is contained in:
Jason Fayre 2024-07-14 13:45:26 -04:00 committed by GitHub
parent b07c75229c
commit 9647df82ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -779,7 +779,7 @@ include("head.inc");
<input name="after" type="hidden" value="<?=isset($after) ? $after :'';?>" />
<input type="hidden" name="floating" value="<?=$pconfig['floating'];?>" />
<div class="table-responsive">
<table class="table table-striped opnsense_standard_table_form">
<table role="presentation" class="table table-striped opnsense_standard_table_form">
<tr>
<td style="width:22%"><strong><?=gettext("Edit Firewall rule");?></strong></td>
<td style="width:78%;text-align:right">