It would be nice to show the previous/next buttons as inactive/hidden whenever either there is no result or there is no text to search yet on Firefox Android.
I can see the Firefox PC version actually acts in this way, but not Firefox Android. This can be easy to realize, we can make some modifications to https://github.com/mozilla-mobile/firefox-android/tree/main/android-components/components/feature/fi... so that those buttons will be disabled whenever we have 0 total search results.