mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
chore(wcag) Make the video menu HTML valid for accessibility
This commit is contained in:
@@ -224,7 +224,7 @@ const ContextMenuItem = ({
|
||||
tabIndex = selected ? 0 : -1;
|
||||
}
|
||||
|
||||
if (role === 'button' && !disabled) {
|
||||
if ((role === 'button' || role === 'menuitem') && !disabled) {
|
||||
tabIndex = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user