mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-25 02:33:05 +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 é
|
A sincronização está desativada. A agenda do Teqo continua funcionando normalmente; nada é
|
||||||
enviado ao Google enquanto estiver desativada.
|
enviado ao Google enquanto estiver desativada.
|
||||||
</div>
|
</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">
|
<div className="flex justify-end">
|
||||||
<Button type="button" onClick={() => void handleSetDisabled(false)} disabled={isBusy}>
|
<Button type="button" onClick={() => void handleSetDisabled(false)} disabled={isBusy}>
|
||||||
Reativar
|
Reativar
|
||||||
|
|
@ -248,7 +252,11 @@ export const GoogleCalendarSyncDialog = ({
|
||||||
{instructions}
|
{instructions}
|
||||||
{reverseEditBlock}
|
{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">
|
<div className="flex justify-end gap-2">
|
||||||
{paused ? (
|
{paused ? (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue