@@ -2,7 +2,7 @@ import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@/
22import { Badge } from '@/components/ui/badge'
33import { Button } from '@/components/ui/button'
44import { Checkbox } from '@/components/ui/checkbox'
5- import { Dialog , DialogContent , DialogHeader , DialogTitle } from '@/components/ui/dialog'
5+ import { Dialog , DialogContent , DialogDescription , DialogHeader , DialogTitle } from '@/components/ui/dialog'
66import { Form , FormControl , FormField , FormItem , FormLabel , FormMessage } from '@/components/ui/form'
77import { Input } from '@/components/ui/input'
88import { Popover , PopoverContent , PopoverTrigger } from '@/components/ui/popover'
@@ -610,7 +610,10 @@ const HostModal: React.FC<HostModalProps> = ({ isDialogOpen, onOpenChange, onSub
610610 < Dialog open = { isDialogOpen } onOpenChange = { handleModalOpenChange } >
611611 < DialogContent className = "h-full w-full max-w-2xl sm:max-h-[95dvh] sm:py-4" onOpenAutoFocus = { e => e . preventDefault ( ) } >
612612 < DialogHeader >
613- < DialogTitle className = { cn ( dir === 'rtl' ? 'text-right' : 'text-left' ) } > { editingHost ? t ( 'editHost.title' ) : t ( 'hostsDialog.addHost' ) } </ DialogTitle >
613+ < DialogTitle className = { cn ( "mt-2" , dir === 'rtl' ? 'text-right' : 'text-left' ) } > { editingHost ? t ( 'editHost.title' ) : t ( 'hostsDialog.addHost' ) } </ DialogTitle >
614+ < DialogDescription className = 'sr-only' >
615+ Modify the host settings below
616+ </ DialogDescription >
614617 </ DialogHeader >
615618 < Form { ...form } >
616619 < form onSubmit = { form . handleSubmit ( handleSubmit ) } className = "space-y-4" >
0 commit comments