-
+
setLocation(e.target.value)}
placeholder={language === 'de' ? 'Ort hinzufügen' : 'Add location'}
+ aria-label={language === 'de' ? 'Ort' : 'Location'}
style={{
...fieldCol, padding: '2px 0', border: 'none',
background: 'transparent', outline: 'none', fontSize: '0.8rem',
@@ -691,7 +706,7 @@ export default function CalendarEventModal({
{/* Alert */}
-
+
{reminders.length === 0 ? (
))
@@ -726,15 +744,15 @@ export default function CalendarEventModal({
{/* Status & Visibility chips */}
-
+
-
@@ -836,9 +860,11 @@ export default function CalendarEventModal({
{att.title || att.url}
-
removeAttachment(att.url)}
+ removeAttachment(att.url)}
+ aria-label={`${language === 'de' ? 'Anhang entfernen' : 'Remove attachment'}: ${att.title || att.url}`}
style={{ background: 'none', border: 'none', cursor: 'pointer', padding: '1px', color: 'var(--weekly-text-light)', flexShrink: 0 }}>
-
+
))}
@@ -848,6 +874,7 @@ export default function CalendarEventModal({
value={newAttachmentUrl}
onChange={e => setNewAttachmentUrl(e.target.value)}
placeholder="URL"
+ aria-label={language === 'de' ? 'Anhang URL' : 'Attachment URL'}
onKeyDown={e => e.key === 'Enter' && addAttachment()}
style={{
flex: 1, padding: '3px 6px', border: 'none',
@@ -856,11 +883,11 @@ export default function CalendarEventModal({
color: 'var(--weekly-text)',
}}
/>
-
-
+
+