1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-02 15:34:48 +01:00

accessibility: aria-expandedon dropdowns, fieldset on aliases > permitted senders, mfa label corrections and alt on qr image

This commit is contained in:
timveld 2026-02-11 19:16:03 +01:00
parent 3b53bf5ae4
commit 122d9ca847
2 changed files with 28 additions and 9 deletions

View File

@ -46,19 +46,38 @@
</div>
</div>
<div class="form-group">
<fieldset>
<legend>
<label for="addaliasSenders" class="col-sm-1 control-label">Permitted Senders</label>
</legend>
<div class="col-sm-10">
<div class="radio">
<label>
<input id="addaliasForwardsToNotAdvanced" name="addaliasForwardsToDivToggle" type="radio" checked onclick="$('#addaliasForwardsToDiv').toggle(false)">
Any mail user listed in the Forwards To box can send mail claiming to be from <span class="regularalias">the alias address</span><span class="catchall domainalias">any address on the alias domain</span>.
<label for="addaliasForwardsToNotAdvanced">
<input id="addaliasForwardsToNotAdvanced"
name="addaliasForwardsToDivToggle"
type="radio"
checked
onclick="$('#addaliasForwardsToDiv').toggle(false)">
Any mail user listed in the Forwards To box can send mail claiming to be from
<span class="regularalias">the alias address</span>
<span class="catchall domainalias">any address on the alias domain</span>.
</label>
</div>
<div class="radio">
<label>
<input id="addaliasForwardsToAdvanced" name="addaliasForwardsToDivToggle" type="radio" id="addaliasForwardsToDivShower" onclick="$('#addaliasForwardsToDiv').toggle(true)">
I&rsquo;ll enter the mail users that can send mail claiming to be from <span class="regularalias">the alias address</span><span class="catchall domainalias">any address on the alias domain</span>.
<label for="addaliasForwardsToAdvanced">
<input id="addaliasForwardsToAdvanced"
name="addaliasForwardsToDivToggle"
type="radio"
onclick="$('#addaliasForwardsToDiv').toggle(true)">
I&rsquo;ll enter the mail users that can send mail claiming to be from
<span class="regularalias">the alias address</span>
<span class="catchall domainalias">any address on the alias domain</span>.
</label>
</div>
</div>
</fieldset>
</div>
<div id="addaliasForwardsToDiv" style="margin-top: .5em; margin-left: 1.4em; display: none;">
<textarea class="form-control" rows="3" id="addaliasSenders" placeholder="one user per line or separated by commas"></textarea>

View File

@ -215,11 +215,11 @@
</div>
</div>
<div id="global_modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="errorModalTitle" aria-hidden="true">
<div id="global_modal" class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="errorModalTitle">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<button type="button" class="close" data-dismiss="modal" aria-label="Close Dialog">&times;</button>
<h4 class="modal-title" id="errorModalTitle"> </h4>
</div>
<div class="modal-body">