mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 15:13:07 +00:00
react-audit(família 7): erro assíncrono do sync sem role=alert — GoogleCalendarSyncDialog.tsx:212,251 não anunciava falha de 'Sincronizar agora'/'Reativar' para leitores de tela
This commit is contained in:
parent
63cef265c2
commit
118ea028f3
1 changed files with 10 additions and 2 deletions
|
|
@ -209,7 +209,11 @@ export const GoogleCalendarSyncDialog = ({
|
|||
A sincronização está desativada. A agenda do Teqo continua funcionando normalmente; nada é
|
||||
enviado ao Google enquanto estiver desativada.
|
||||
</div>
|
||||
{actionError && <p className="text-sm text-red-600">{actionError}</p>}
|
||||
{actionError && (
|
||||
<p role="alert" className="text-sm text-red-600">
|
||||
{actionError}
|
||||
</p>
|
||||
)}
|
||||
<div className="flex justify-end">
|
||||
<Button type="button" onClick={() => void handleSetDisabled(false)} disabled={isBusy}>
|
||||
Reativar
|
||||
|
|
@ -248,7 +252,11 @@ export const GoogleCalendarSyncDialog = ({
|
|||
{instructions}
|
||||
{reverseEditBlock}
|
||||
|
||||
{actionError && <p className="text-sm text-red-600">{actionError}</p>}
|
||||
{actionError && (
|
||||
<p role="alert" className="text-sm text-red-600">
|
||||
{actionError}
|
||||
</p>
|
||||
)}
|
||||
|
||||
<div className="flex justify-end gap-2">
|
||||
{paused ? (
|
||||
|
|
|
|||
Loading…
Reference in a new issue