[MA-21]: Added role='alert' to the error message element (#29723)

Этот коммит содержится в:
ayush-chauhan233
2025-01-22 04:36:32 +05:30
коммит произвёл GitHub
родитель faeb6f52ac
Коммит a08341d398

Просмотреть файл

@@ -391,7 +391,10 @@ export default function ChannelNotificationsModal(props: Props) {
</main>
<footer className='channel-notifications-settings-modal__footer'>
{serverError &&
<span className='channel-notifications-settings-modal__server-error'>
<span
role='alert'
className='channel-notifications-settings-modal__server-error'
>
{serverError}
</span>
}