- Posts: 19
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
Yes, but in the meantime you can disable them and set defaults if required. If you don't want a default value, simply remove that tag.LouisGac wrote: You still cant hide core attributes: but it will be possible very soon, and probably the way you tried to do it
<attribute> <name>slider_layout</name> <category>Disabled options</category> <sortorder>12</sortorder> <inputtype></inputtype> <default>1</default> <help>This setting is not available in this question theme.</help> <caption>Use slider layout (defaulted to "On")</caption> <readonly_when_active>false</readonly_when_active> </attribute>
There are two arrays of variables available in question themes - aData and surveyInfo.
yannickberger wrote: Plus I have another question, is there somehere where i can find all the attributes you can get from LimeSurvey ?
<h3>Dump of aData</h3> {{ dump(aData) }} <h3>Dump of surveyInfo</h3> {{ dump(surveyInfo) }}
yannickberger wrote: Thank both of you for your answers it sure did help me.
I managed to implement my personal question.
My goal was to make the radio-list question accessible for person with disabilities because it was not fully the case. Accessibility guidelines required the radio-input element to be sourrounded by a <fieldset> with an accurate aria-label wich is now done with my question theme.
I put my question theme in copy in case you want to have a look of what's have been done.
I will continue to try to correct some accessible errors i've seen on different question type.
Again thank you both for your precious help, it has been really appreciated
Cheers,
Yannick
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