Skip to content

Commit a108bfd

Browse files
committed
fix(web): announce diff failures politely
1 parent 9a04c9b commit a108bfd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/pullRequest/PullRequestDiffUnavailableState.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function PullRequestDiffUnavailableState({
2323
const { title, description } = describePullRequestDiffError(error, providerName);
2424

2525
return (
26-
<Empty size="compact" className="min-h-full" role="alert">
26+
<Empty size="compact" className="min-h-full" role="status">
2727
<div className="flex size-11 items-center justify-center rounded-full bg-warning-surface text-warning">
2828
<TriangleAlertIcon aria-hidden className="size-5" />
2929
</div>

0 commit comments

Comments
 (0)