Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Modify the HMTL generated for a question

  • yannickberger
  • yannickberger's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #169471 by yannickberger
Replied by yannickberger on topic Modify the HMTL generated for a question
Hello,
I am currently still working on my theme but when it's done i'll be very pleased to contribute for LimeSurvey.

Next step i'll try to modify the Array question in LimeSurvey, so i'll keep you updated about this too.

Cheers,
Yannick
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 10 months ago #169472 by DenisChenu
Replied by DenisChenu on topic Modify the HMTL generated for a question
We don't need fieldset or legend since we use role and aria-labelledby and aria-describedby.

When redo whole HTML all question are sent to www.tanaguru.com/fr/ .


You can create issue for accessibility,
But : in current LS core HTML part : we use aria

www.w3.org/WAI/tutorials/forms/grouping/...ntrols-with-wai-aria

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: tpartner, yannickberger
The topic has been locked.
  • yannickberger
  • yannickberger's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #169473 by yannickberger
Replied by yannickberger on topic Modify the HMTL generated for a question

We don't need fieldset or legend since we use role and aria-labelledby and aria-describedby.

When redo whole HTML all question are sent to www.tanaguru.com/fr/ .


You can create issue for accessibility,
But : in current LS core HTML part : we use aria


I know about this, but the way I did fit my needs so maybe i'll investigate further but as for now i'm trying to corecting the errors i got from A11y ( ffoodd.github.io/a11y.css/ )

Can someone provide me a sample question theme or some hints for the 5 pt array because i tried to implemnt my own question theme and it doesn't seem to work. I think maybe the structure of the folder must be diffrent with an array.

The documentation about these question theme is pretty rare (or I am missing smth ?), too bad because it's a very intresting feature.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 10 months ago #169475 by DenisChenu
Replied by DenisChenu on topic Modify the HMTL generated for a question
With tester : You will have as much different error return as tester …

With wave.webaim.org/ : you have a warning but you have the role=radiogroup , and this is an example on w3.org.

If you put role=radio on input : addons.mozilla.org/fr/firefox/addon/visual-aria is happy, but validator.nu show : "Warning: The radio role is unnecessary for element input whose type is radio."

visual-aria foirefox plugin is broken. And seems a11y.css didn't know aria …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 10 months ago #169477 by tpartner
Replied by tpartner on topic Modify the HMTL generated for a question

Can someone provide me a sample question theme or some hints for the 5 pt array because i tried to implemnt my own question theme and it doesn't seem to work. I think maybe the structure of the folder must be diffrent with an array.

The path would be: /upload/themes/question/5-point-array-test/survey/questions/answer/arrays/5point...

Sample custom theme attached:

File Attachment:

File Name: 5-point-ar...test.zip
File Size:6 KB



Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu, yannickberger
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 10 months ago - 5 years 10 months ago #169482 by DenisChenu
Replied by DenisChenu on topic Modify the HMTL generated for a question
I see <show_as_question_type>true</show_as_question_type> : it work ? If yes : really cool :)

(even with simple dropdown (i [strike]hate[/strike]really dislike this big selector for question type))

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 5 years 10 months ago by DenisChenu. Reason: bbcode not html … (strike)
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 10 months ago #169486 by LouisGac
Replied by LouisGac on topic Modify the HMTL generated for a question
it will work.
we just prepared it.
The topic has been locked.
  • yannickberger
  • yannickberger's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #169487 by yannickberger
Replied by yannickberger on topic Modify the HMTL generated for a question
Thank you very much I will take a look at this :)
The topic has been locked.
  • yannickberger
  • yannickberger's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #169496 by yannickberger
Replied by yannickberger on topic Modify the HMTL generated for a question
Ok I found out the folder wich contains all the question and how they are build (on the picture the array question class) :



So i managed to create a personnal theme of each array question type by copy/pasting the arrays folder in upload/....

But i couldn't manage to get a personnal theme for the simple array question



Wich folder do I need to copy to get a theme from the array question (see attachement array) ?

Really appreciated all your help so far

Cheers,
Yannick
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose