Most PDF viewers have option (enabled by default) which allows fields to be highlighted with colors predefined in the settings. Required fields are highlighted using different color. For example: In Adobe Acrobat Reader DC this is enabled in "Edit" -> "Preferences" -> "Forms" -> "Highlight Color" -> "Show border hover color for fields".