diff --git a/src/app/components/AccountDataEditor.tsx b/src/app/components/AccountDataEditor.tsx index b1192f5f9..5c3ac6e4c 100644 --- a/src/app/components/AccountDataEditor.tsx +++ b/src/app/components/AccountDataEditor.tsx @@ -213,6 +213,7 @@ function AccountDataView({ type, defaultContent, onEdit }: AccountDataViewProps) Account Data {previewUrl && ( <> - setPreviewPlaying(false)} /> + setPreviewPlaying(false)} + aria-hidden="true" + /> { const audio = previewAudioRef.current; diff --git a/src/app/components/create-room/CreateRoomAliasInput.tsx b/src/app/components/create-room/CreateRoomAliasInput.tsx index 37eb2050f..75b29e9c8 100644 --- a/src/app/components/create-room/CreateRoomAliasInput.tsx +++ b/src/app/components/create-room/CreateRoomAliasInput.tsx @@ -78,11 +78,14 @@ export function CreateRoomAliasInput({ disabled }: { disabled?: boolean }) { return ( - Address (Optional) + + Address (Optional) + Pick an unique address to make it discoverable. - Name - + + Name + + - Attribution + + Attribution + - User ID + + User ID + - Reason (Optional) + + Reason (Optional) + - Address + + Address + Name - {/* eslint-disable-next-line jsx-a11y/no-static-element-interactions */} + {} {/* Header */} - + Media Gallery diff --git a/src/app/features/room/PollCreator.tsx b/src/app/features/room/PollCreator.tsx index 33efb20c7..8a9716c1b 100644 --- a/src/app/features/room/PollCreator.tsx +++ b/src/app/features/room/PollCreator.tsx @@ -142,7 +142,6 @@ export function PollCreator({ roomId, onClose }: PollCreatorProps) { placeholder="Ask a question…" value={question} onChange={(e: React.ChangeEvent) => setQuestion(e.target.value)} - // eslint-disable-next-line jsx-a11y/no-autofocus autoFocus /> @@ -151,7 +150,6 @@ export function PollCreator({ roomId, onClose }: PollCreatorProps) { Options {options.map((opt, index) => ( - // eslint-disable-next-line react/no-array-index-key inputRef.current, - returnFocusOnDeactivate: false, allowOutsideClick: true, clickOutsideDeactivates: true, onDeactivate: requestClose, @@ -257,7 +256,13 @@ export function Search({ requestClose }: SearchProps) { }, }} > - + } onChange={handleInputChange} onKeyDown={handleInputKeyDown} diff --git a/src/app/features/settings/general/General.tsx b/src/app/features/settings/general/General.tsx index 822d68764..c445637f0 100644 --- a/src/app/features/settings/general/General.tsx +++ b/src/app/features/settings/general/General.tsx @@ -531,6 +531,7 @@ function Appearance() { Intensity: {nightLightOpacity}% {callDenoiseGateThreshold} dB