dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Posted by NewsGrail 2 years 50 weeks ago

pic
 NewsGrail
mobiForge Enthusiast
Posts: 12
Joined: 3 years ago
[offline]

As titled. It's valid XHTML MP, I'll provide the source if you don't find the result consistent.

Posted by daniel.hunt 2 years ago

pic
 daniel.hunt
dotMobi logo
Mobile Grandmaster
Posts: 230
Joined: 4 years ago
[offline]

Hey NewsGrail,

Thanks for the bug report. Could you pass on the markup aswell please, just incase? I'll get Ruadhan to look into it as soon as he gets back from his holidays.

Thanks,
Daniel

Daniel Hunt
dotMobi

Posted by NewsGrail 2 years ago

pic
 NewsGrail
mobiForge Enthusiast
Posts: 12
Joined: 3 years ago
[offline]
<form action="/switch" method="get">
<div>
<input id="searchtext" name="searchtext" type="text" accesskey="4" />
<label for="searchtype" class="n">Type</label>
<select id="searchtype" name="searchtype">
<optgroup label="For">
<option selected="selected">Category</option>
<option>Person</option>
<option>Organisation</option>
<option>Place</option>
</optgroup>
</select>
<input name="do" value="search" type="hidden" />
<button type="submit">Search</button>
</div>
</form>
NewsGrail Mobile, the collaborative social news network.

Posted by artur1979 2 years ago

pic
 artur1979
Mobile Addict
Posts: 22
Joined: 3 years ago
[offline]

haven't tried button but maybe consider using input type image as submit, it definatelly works and has one adventage that it has the same look on each browser

<input type="image" src="/i/submit.gif" alt="Confirm" class="iSubmit"/>

Posted by daniel.hunt 2 years ago

pic
 daniel.hunt
dotMobi logo
Mobile Grandmaster
Posts: 230
Joined: 4 years ago
[offline]

Firstly, I'd recommend that you simply don't use accesskeys at all, as they are incredibly unpredictable :(
Secondly, that button change may be enough to fix the issue, but I'd have thought that button would work ...

Daniel Hunt
dotMobi

Posted by NewsGrail 2 years ago

pic
 NewsGrail
mobiForge Enthusiast
Posts: 12
Joined: 3 years ago
[offline]

I mulled over abandoning accesskeys, but it seems everyone everywhere "officially" specifies to do so, including your own ready.mobi test. They're the UK government's almost-entirely-numeric ones, which I believe are the most widely available and least conflicting. If it becomes a problem I'll remove them.

Thanks for the advice artur, but I think there's more reasons to use HTML than images, particularly on a mobile and I do have a specific reason for using button in this location. It's input type="submit" elsewhere.

NewsGrail Mobile, the collaborative social news network.

Posted by daniel.hunt 2 years ago

pic
 daniel.hunt
dotMobi logo
Mobile Grandmaster
Posts: 230
Joined: 4 years ago
[offline]

As far as the button type goes - fair enough. I'll have Ruadhan look into it when he gets back for you anyway.

Accesskeys are a bit of a bone of contention I believe. Standards "officially" state that they should be used (and supported) whenever possible, but in practice, it doesn't work like that at all. All S60 phones have dropped support for them, in favour of browser specific functionality (such as 1 goes back, 3 goes forward, 5 reloads - that kind of thing). They're also useless on any touch screen device that doesn't have a keypad.

Either way - there are plenty of perfectly legitimate use cases for keeping them, so if it suits you, why not?! :)

Daniel Hunt
dotMobi

Posted by NewsGrail 2 years ago

pic
 NewsGrail
mobiForge Enthusiast
Posts: 12
Joined: 3 years ago
[offline]

The validator still fails to recognise <button type="submit"> as a submit button...

NewsGrail Mobile, the collaborative social news network.