Base on the Accessibility rule at
here
, The page should have headings but Limesurvey themes are using div tag with a class.
I am using the latest verion, 3.15.5+181115
I am looking for a way to reaplce <div classs="h3"> to <h3> especially on the front page where a Limesurvey asks a token to start a survey. (The page screenshot was added as attachment.).
I agree that always the correct HTML tags should be used. But then, especially on this specific piece of code the change from the div to the H3 does add very little to accessibility, because the information that "To participate..." is a H3 adds very little, because it is actually not really a header, is it. It is just a piece of information. So I would not kill myself over that.
Not sure if this can be found in the template files.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
LouisGac
New Member
LessMore
Thank you received: 0
7 years 9 months ago - 7 years 9 months ago#178118by LouisGac
it's been a hard debate, you can't imagine.
The main point, the technical one that closed that debate, is that LS user can insert inside a title other HTML tags, like div.
This is not correct:
Code:
<h3><div>blablabla></div></h3>
This is correct
Code:
<div class="h3"><div>blablabla></div></div>
So we prefer to give max freedom to end user, so he can add any HTML tag in the title from the HTML WYSIWG editor.
Thank you for the quick reply but the location you indicated was for the survey list, not the token page where a user type in the token for starting a survey.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.