teamforus / forus

Online platform voor maatschappelijke projecten.
https://forus.io
GNU Affero General Public License v3.0
9 stars 3 forks source link

Webshop: toggle buttons are not accessible by keyboards use native HTML button elements #2213

Closed jamalv closed 3 years ago

jamalv commented 3 years ago

Page: /preferences/notifications

The so-called toggle buttons on this page are not accessible to auxiliary software. In the code, these buttons consist of input elements of the type "checkbox". These input elements are hidden from the reading software with "display: none". At the front end, these input fields have been replaced by non-interactive div elements that look like toggle buttons. A user without a mouse cannot operate these buttons.

These buttons are not available for users who only visit the website with a keyboard.

Give this button interactive properties. This can be done, for example, by coding this button with a native HTML button element.