Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(overlay|prejoin) Added level to items with heading role

raduanastase8x8c486dc07db23
diff --git a/react/features/overlay/components/web/PageReloadOverlay.tsx b/react/features/overlay/components/web/PageReloadOverlay.tsx
index 1e0e7921dc..3ed7b8dd74 100644
--- a/react/features/overlay/components/web/PageReloadOverlay.tsx
+++ b/react/features/overlay/components/web/PageReloadOverlay.tsx
@@ -33,6 +33,7 @@ class PageReloadOverlay extends AbstractPageReloadOverlay<IProps> {
className = 'inlay'
role = 'dialog'>
<span
+ aria-level = { 1 }
className = 'reload_overlay_title'
id = 'reload_overlay_title'
role = 'heading'>
diff --git a/react/features/prejoin/components/web/preview/DeviceStatus.tsx b/react/features/prejoin/components/web/preview/DeviceStatus.tsx
index 74ee2a3437..5faf209edf 100644
--- a/react/features/prejoin/components/web/preview/DeviceStatus.tsx
+++ b/react/features/prejoin/components/web/preview/DeviceStatus.tsx
@@ -67,7 +67,9 @@ function DeviceStatus() {
role = 'alert'
tabIndex = { -1 }>
{!hasError && <div className = { classes.indicator } />}
- <span role = 'heading'>
+ <span
+ aria-level = { 3 }
+ role = 'heading'>
{hasError ? t('prejoin.errorNoPermissions') : t(deviceStatusText ?? '')}
</span>
</div>