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

This commit is contained in:
raduanastase8x8
2025-04-11 10:42:46 +03:00
committed by Saúl Ibarra Corretgé
parent b48772f898
commit c486dc07db
2 changed files with 4 additions and 1 deletions

View File

@@ -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>