Open jfayre opened 2 months ago
@AdSchellevis In one of my pull requests, you mentioned that you would look at updating Bootstrap to fix the aria-hidden attributes on modal dialogs. Any idea if this will make it into the 24.7 release? Thanks!
@jfayre almost forgot, https://github.com/opnsense/core/commit/cf6359c8a31561b2dc26a2c643cd5a561e156ccf should do the trick
@AdSchellevis I don't think this worked. When I delete a firewall rule, such as a port forward, the aria-hidden attribute is still set on the modal. Aria-hidden should be removed or set to false in order for the dialog to be available to screen readers. In looking at this a bit further, it looks like bootstrap-dialog.js may be fixed, but the bootstrap-dialog.min.js file appears to be the old one. Is there something I need to do to make this live in the UI? Javascript isn't my strong point.
@jfayre my mistake, forgot the minified file. https://github.com/opnsense/core/commit/82085173b8cb9b8188b42f1f24be7d960f22c9bb should do the trick
Thanks! That worked. Do we have any idea when other major sections of the UI will be moved to MVC? I'm thinking specifically of the firewall rules, nat, etc. In the current structure of those pages, the screen reader is interpreting the action buttons in the top right of the table as a column header. This makes the screen reader read those buttons every time you navigate into that column on any of the rows.
It's a long term process, we replaced a lot already but are certainly not finished.
Ok no problem. I'll see what I can do to fix those tables. When you have a second, can you take a look at PR 7593? This is to add accessible form labels to MVC forms.
7593 is still on my list of things todo
The bootstrap fixes are working great from what I can tell so far. It looks like this didn't catch everything though. At the top of the various tables, there are buttons to refresh, sort, and change the number of results displayed. These buttons don't have proper labels. I can't find where these elements are created. Can someone advise? Thanks!
I am working on fixing the major accessibility issues that make OPNSense very difficult for someone who is totally blind to use. The following pull requests have been submitted. Items that are checked off have been merged into master:
things to do: