froide icon indicating copy to clipboard operation
froide copied to clipboard

On mobile Firefox the "max=15" limit for the response deadline input does not lead to error message, but just no response/reaction

Open rugk opened this issue 6 months ago • 0 comments

This is more a problem of mobile Firefox, I suppose, so just that you are aware of it here is the copied report from https://github.com/webcompat/web-bugs/issues/140735


URL: https://fragdenstaat.de/anfrage/informationen-dazu-warum-abgabe-der-stimme-per-eid-elektronischer-signatur-per-ausweis-nicht-mehr-angeboten-wird-in-deutschland-1/

Browser / Version: Firefox Mobile 129.0 Operating System: Android 14 Tested Another Browser: Yes Chrome

Problem type: Something else Description: Surpassing max= in input does not lead to error message, but just no response/reaction Steps to Reproduce: If you have any request on FragDenStaat, and you try to add days on mobile Firefox for the expiration date of a FOI request, no response is shown.

STR:

  1. Login /register for FragDenStaat.de
  2. Write a FOI (freedom of information) request to an EU agency (as they have a limit of 15 days for answering).
  3. Click the pencil near the expiration date and try to edit the date.
  4. An input box for days will be shown. Add more than 15 there, surpassing the hard oded limit.

On Chrome and desktop Firefox a error message is shown, on mobile or is not. This feels as if the website is broken. Would not I have known this limit, I would not have catched it.

Screenshot is comparison from Chrome, which makes more sense.

HTML seems to be this:

<input class="form-control" type="number" min="0" max="15" name="time" value="1">

As the platform is open-source here seems to be the relevant snippet in their code: https://github.com/okfde/froide/blob/d0da260dd97780471a128609ff8e9e127e2cdd88/froide/foirequest/templates/foirequest/header/info-box.html#L122-L127

View the screenshot Screenshot
Browser Configuration
  • None

From webcompat.com with ❤️

rugk avatar Aug 22 '24 18:08 rugk