Screen reader cursor trapped by keyup event handler on input field?

Input field with keyup event handler

lorem impsum al;kdjfa;lskjdf;lkasjdf;lkasjfl;asjdfl;kjuetral;dfkjal;fdj

Input field without a keyup event handler

lorem impsum al;kdjfa;lskjdf;lkasjdf;lkasjfl;asjdfl;kjuetral;dfkjal;fdj