mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-17 09:57:49 +00:00
fix: added missing aria-labels to toolbar buttons for accessibility
This commit is contained in:
committed by
Дамян Минков
parent
c3079cc156
commit
cff9b3b157
@@ -291,6 +291,7 @@ export default function Toolbox({
|
||||
{Boolean(overflowMenuButtons.length) && (
|
||||
<OverflowMenuButton
|
||||
ariaControls = 'overflow-menu'
|
||||
ariaLabel = { t('toolbar.accessibilityLabel.moreActionsMenu') }
|
||||
buttons = { overflowMenuButtons.reduce<Array<IToolboxButton[]>>((acc, val) => {
|
||||
if (val.key === 'reactions' && showReactionsInOverflowMenu) {
|
||||
return acc;
|
||||
@@ -327,6 +328,7 @@ export default function Toolbox({
|
||||
endConferenceSupported
|
||||
? <HangupMenuButton
|
||||
ariaControls = 'hangup-menu'
|
||||
ariaLabel = { t('toolbar.accessibilityLabel.hangup') }
|
||||
isOpen = { hangupMenuVisible }
|
||||
key = 'hangup-menu'
|
||||
notifyMode = { buttonsWithNotifyClick?.get('hangup-menu') }
|
||||
|
||||
Reference in New Issue
Block a user