diff --git a/lang/main.json b/lang/main.json index 473aef9a4..cb721a35b 100644 --- a/lang/main.json +++ b/lang/main.json @@ -241,7 +241,8 @@ "Yes": "Yes", "accessibilityLabel": { "close": "Close dialog", - "liveStreaming": "Live Stream" + "liveStreaming": "Live Stream", + "sharingTabs": "Sharing options" }, "add": "Add", "addMeetingNote": "Add a note about this meeting", diff --git a/react/features/desktop-picker/components/DesktopPicker.tsx b/react/features/desktop-picker/components/DesktopPicker.tsx index 168e55809..f8741d4b6 100644 --- a/react/features/desktop-picker/components/DesktopPicker.tsx +++ b/react/features/desktop-picker/components/DesktopPicker.tsx @@ -191,7 +191,7 @@ class DesktopPicker extends PureComponent { * @inheritdoc */ render() { - const { selectedTab, selectedSource, sources } = this.state; + const { selectedTab, selectedSource, sources, types } = this.state; return ( { size = 'large' titleKey = 'dialog.shareYourScreen'> { this._renderTabs() } - + {types.map(type => ( +
+ {selectedTab === type && ( + + )} +
+ ))} +
); } @@ -348,17 +361,18 @@ class DesktopPicker extends PureComponent { type => { return { accessibilityLabel: t(TAB_LABELS[type as keyof typeof TAB_LABELS]), - id: type, + id: `${type}-tab`, + controlsId: `${type}-panel`, label: t(TAB_LABELS[type as keyof typeof TAB_LABELS]) }; }); return ( ); }