teamforus / forus

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

Webshop preferences emails: Add e-mail button from DIV to native HTML element button #2242

Closed jamalv closed 3 years ago

jamalv commented 3 years ago

This page has a big red button with "add email". For the reading software this is not a button, but a non-interactive div element. See screenshot 8.

The reading software cannot tell its user that these are buttons because they miss the correct role. Now these buttons are coded as neutral (non-interactive) div elements. In addition, the reading software does not know what the function (name) of these buttons is.

The most robust solution is to use the native HTML elements such as button elements. Another possible solution is to use WAI-ARIA.

image.png

Page where button is: http://localhost:5500/preferences/emails

GerbenBosschieter commented 3 years ago

Checked and passed