How to Fix Lines Appearing in the Tab Order of a PDF Form
Question details
Users experience an issue where drawn lines in a PDF form are selected or highlighted when navigating through form fields using the keyboard Tab key.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Editing a fillable PDF form and drawing lines for formatting or visual division.
- Observed behavior
- The inserted lines receive focus and appear in the tab sequence alongside actual interactive form fields, interrupting smooth form navigation.
Save a backup copy of your original fillable PDF form before modifying properties or flattening annotations, as flattening permanently merges objects into the static page content.
Flatten Line Annotations to Remove Them from Tab Order
Flattening converts interactive line annotations into static page content, permanently preventing them from receiving focus during keyboard navigation.
When you draw a line in a PDF, it is often added as a selectable 'annotation' rather than base page content. PDF readers include annotations in the tab order by default. Flattening merges these annotations into the background layer.
Launch your PDF editor and open the fillable PDF form that contains the problematic lines.
Navigate to the 'Protect', 'Edit', or 'Comment' tab, depending on your software, and find the 'Flatten' or 'Flatten Annotations' tool.
Execute the flattening command to merge the annotations into the page content. Save the document to apply the changes to your tab sequence.

Set Line Properties to Read-Only or Locked
Modify the properties of the line annotation so it is ignored by the tab sequence while keeping it editable for future adjustments.
Edit and Flatten PDF Forms Seamlessly with WPS Office
WPS PDF provides intuitive tools to manage form fields, edit annotations, and flatten documents in just a few clicks, ensuring your tab sequence works perfectly without focus errors.
- 1. Open PDF in WPS Office: Launch WPS Office and open your fillable PDF form.
- 2. Access the Flatten Tool: Navigate to the top toolbar, find the PDF management tools, and select the option to flatten annotations.
- 3. Save the Optimized Document: Click 'Save' to preserve the optimized PDF with the corrected tab order, ready for user distribution.

Frequently Asked Questions
Why do regular lines behave like form fields in a PDF?
Lines drawn using markup or commenting tools are created as interactive annotations rather than base page text. By default, many PDF readers include interactive annotations in the tab order so users can navigate to them using a keyboard.
Can I remove a line from the tab order without flattening the whole document?
Yes, you can manually adjust the tab order in your PDF editor's form preparation mode, or change the line's properties to 'Locked' or 'Read-only' so it stops receiving focus.
Will flattening my PDF break the fillable text boxes?
It depends on the specific flattening method used. If you use a tool specifically designed to flatten 'Annotations only', your form fields will remain fillable. If you 'Print to PDF', all interactive elements, including form fields, will become static text.
How do I check the current tab sequence of my PDF form?
In most professional PDF editors, you can view and edit the tab sequence by opening the 'Prepare Form' or 'Form Editing' panel, where all interactive fields and annotations are listed in their exact navigation order.




