You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dialogs are not accessible. When opened, nothing is read beside the "Ok" button (which has the focus. They need to read the dialog title.
Additionally, those dialogs with input fields need labels on the input fields.
The fix to make the dialog state their title was two-fold:
The title was made an h1 and given an id.
The dialog uses aria-labelledby to point to that id.
The fix for input field was similar:
The label was given an id
The input filed or combo box then pointed to that idvia aria-labelledby.
Note: there is some code duplication and it would be good to do some refactorings so that these kinds of things are picked up automatically by any new dialog. It would also make some display more uniform.
The text was updated successfully, but these errors were encountered:
From web4all hackathon diagram-codesprint#12
Description
Dialogs are not accessible. When opened, nothing is read beside the "Ok" button (which has the focus. They need to read the dialog title.
Additionally, those dialogs with input fields need labels on the input fields.
The fix to make the dialog state their title was two-fold:
h1
and given anid
.id
.The fix for input field was similar:
id
id
viaaria-labelledby
.Note: there is some code duplication and it would be good to do some refactorings so that these kinds of things are picked up automatically by any new dialog. It would also make some display more uniform.
The text was updated successfully, but these errors were encountered: