Notiflix
Notiflix copied to clipboard
[BUG] - Aria roles missing
Describe the bug
Notiflix does not properly set ARIA roles and therefore is not accessible.
To Reproduce
- Show a popup and inspect the code. No aria roles are set, so the popups / notifications are not read out by screen readers.
- Open a "report" notification and try to close it with the keyboard only (esc key or tab-key to focus on the button) - it does not work.
Expected behavior
re 1) proper aria roles (i.e. role=alert) when notifications show up or the dialog is shown re 2) proper setting of focus, support of Esc key and tab key.