mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-02-04 11:22:52 +01:00
- Removed `aria-hidden="true"` from the `global_modal` div. This attribute was set but not updated, causing screen readers to ignore the modal even when it was open. Bootstrap sets and modifies `aria-hidden` automatically, so the correct approach is not to set it manually. - The `global_modal` div has `role="dialog"` (correct) but lacked `aria-modal="true"`. The ARIA specification recommends setting this attribute to ensure screen readers know that focus is (and should be) trapped in the modal. I added it. - Removed `aria-hidden="true"` from the close button. This button can receive keyboard focus, so it should have an accessible name. If it is hidden, a screen reader user experiences focus on an unnamed element, which is confusing. - Added `aria-label="Close Dialog"` to the close button. The visible label `×` does not describe the button’s function, but the new ARIA label does. |
||
|---|---|---|
| .. | ||
| templates | ||
| auth.py | ||
| backup.py | ||
| cli.py | ||
| csr_country_codes.tsv | ||
| daemon.py | ||
| daily_tasks.sh | ||
| dns_update.py | ||
| email_administrator.py | ||
| mail_log.py | ||
| mailconfig.py | ||
| mfa.py | ||
| munin_start.sh | ||
| ssl_certificates.py | ||
| status_checks.py | ||
| utils.py | ||
| web_update.py | ||
| wsgi.py | ||