explorer/fileNameFormGroup: hide tag

screen readers don't need to read the file extension tag
This commit is contained in:
David Lechner
2022-05-13 23:52:21 -05:00
parent 404818bcdf
commit fb681e06ec
@@ -97,7 +97,7 @@ const FileNameFormGroup: React.VoidFunctionComponent<FileNameFormGroupProps> = (
value={fileName}
inputRef={inputRef}
intent={fileNameIntent}
rightElement={<Tag>{fileExtension}</Tag>}
rightElement={<Tag aria-hidden>{fileExtension}</Tag>}
onChange={(e) => onChange(e.target.value)}
/>
</FormGroup>