mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-03 22:04:53 +03:00
Add missing accessibility related dialog description
This commit is contained in:
parent
1c987581ff
commit
d8f7ca27ed
@ -2,6 +2,7 @@ import { Button } from "@/components/ui/button";
|
|||||||
import {
|
import {
|
||||||
Dialog,
|
Dialog,
|
||||||
DialogContent,
|
DialogContent,
|
||||||
|
DialogDescription,
|
||||||
DialogHeader,
|
DialogHeader,
|
||||||
DialogTitle,
|
DialogTitle,
|
||||||
} from "@/components/ui/dialog";
|
} from "@/components/ui/dialog";
|
||||||
@ -88,6 +89,11 @@ export default function ShareTimestampDialog({
|
|||||||
<DialogTitle>
|
<DialogTitle>
|
||||||
{t("recording.shareTimestamp.title", { ns: "components/dialog" })}
|
{t("recording.shareTimestamp.title", { ns: "components/dialog" })}
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
|
<DialogDescription className="sr-only">
|
||||||
|
{t("recording.shareTimestamp.description", {
|
||||||
|
ns: "components/dialog",
|
||||||
|
})}
|
||||||
|
</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
{content}
|
{content}
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user