Electron--hydrogen photoattachment as a source of ultraviolet absorption