mediaelement
mediaelement copied to clipboard
Accessibility errors - empty ARIA menus trigger accessibility errors
I'm using release 5.1.0, downloaded / updated today, but the problem I'm here to post about predates this version.
Basically, certain video control elements are causing your script to generate empty ULs for non existent settings? The javascript is generating empty ARIA-menus, and the accessibility checkers like WAVE are marking this as an error, because ARIA tagged menus have to have menu items in them, or they are considered broken. So the fix is going to have to be, to not generate these empty menu ULs, but rather to check for the existence of content for the list before inserting the containing
The code being complained about by WAVE includes:
......
......
Audio Track