1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-02-04 11:22:52 +01:00
mailinabox/management/templates
Tim in 't Veld de4ec82a5a
Fix critical accessibility bug in control panel modals (#2551)
- 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.
2026-02-01 10:29:39 -05:00
..
aliases.html Improve control panel panel switching behaviour by using the URL fragment (#2252) 2023-05-13 06:49:34 -04:00
custom-dns.html Allow secondary DNS xfr: items to be hostnames that are resolved to IP addresses when generating the nsd configuration 2023-05-13 07:00:10 -04:00
external-dns.html Fix broken link in external-dns.html (#2045) 2021-10-18 07:36:48 -04:00
index.html Fix critical accessibility bug in control panel modals (#2551) 2026-02-01 10:29:39 -05:00
login.html Improve control panel panel switching behaviour by using the URL fragment (#2252) 2023-05-13 06:49:34 -04:00
mail-guide.html Fix broken Z-Push compatibility list link in mail guide (#2515) 2025-06-17 06:37:17 -04:00
mfa.html Add MFA list/disable to the management CLI so admins can restore access if MFA device is lost 2020-10-31 10:23:43 -04:00
munin.html Set a cookie for /admin/munin pages to grant access to Munin reports 2021-09-24 08:11:36 -04:00
ssl.html replace free_tls_certificates with certbot 2018-06-29 16:46:21 -04:00
sync-guide.html Fix broken links for scp and DAV (#2522) 2025-07-21 09:28:04 -04:00
system-backup.html Fix typos (#2406) 2024-07-21 07:01:25 -04:00
system-status.html feat(status page): Add summary of ok/error/warning counts (#2204) 2023-01-28 11:11:17 -05:00
users.html fixed missing column heading 2024-12-28 17:10:50 -05:00
web.html Fix broken links for scp and DAV (#2522) 2025-07-21 09:28:04 -04:00
welcome.html Add a 'welcome' panel to the control panel and make it the default page instead of the status checks which take too long to load 2021-09-06 09:23:58 -04:00