View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
10039Feature requestsSurvey takingpublic2015-11-19 15:55
Reportertammo Assigned To 
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary10039: Please use [input type = ...] where possible
Description

When accessing a survey on a mobile device or any device without it's own keyboard, a screen keyboard is shown when needed.

It would be of great use for the respondent if the keyboard that is shown, indicates what is expected as input. This can be coded through the input type, for HTML5 according to http://www.w3schools.com/html/html_form_input_types.asp

Please use these data type, specifically for questions that ask for an email address <input type="email"> and for numerical only input <input type="number">

This could be achieved through the template, but I think it is better to solve this in core, since then it will be available for all templates.

TagsNo tags attached.
Bug heat4
Story point estimate
Users affected %

Relationships

child of 08008 new Go to HTML5, add a polyfills and remove a lot of JS 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-11-19 12:30

developer   ~33599

Some can be done in plugin beforeQuestionRender BUT : input type number/date etc .... need HTML5

tammo

tammo

2015-11-19 15:40

partner   ~33605

HTML5 is available on all (?) mobile platforms. In older browsers (on PC/Apple laptops/desktops) input type is ignored, so it does not do any harm ...

DenisChenu

DenisChenu

2015-11-19 15:45

developer   ~33606

Yes, but actually HEADER of limesurvey public part is XHTML 1.0.

You CAN NOT use HTML5 feature in XHTML 1.0 if you really do a real system ....

See: http://www.w3.org/QA/2002/04/valid-dtd-list.html .

It work on all major browser, but it's a really bad hack.

Ps : i already use aria on https://git.framasoft.org/SondagePro-LimeSurvey-plugin/moreAccessibility . But it's an external plugin. Before LS core have input/type aria and all HTML5 featire : the HTML MUST move to HTML5.

tammo

tammo

2015-11-19 15:55

partner   ~33607

Thanks. Is this on the roadmap for LS2.5 or 3.0?

Issue History

Date Modified Username Field Change
2015-11-16 21:09 tammo New Issue
2015-11-19 12:30 DenisChenu Relationship added child of 08008
2015-11-19 12:30 DenisChenu Note Added: 33599
2015-11-19 15:40 tammo Note Added: 33605
2015-11-19 15:45 DenisChenu Note Added: 33606
2015-11-19 15:55 tammo Note Added: 33607