Skip to content

Commit

Permalink
[MA-21]: Added role='alert' to the error message element
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush-chauhan233 committed Dec 23, 2024
1 parent 0482b57 commit ff6fc6c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
}
Expand Down

0 comments on commit ff6fc6c

Please sign in to comment.