View Issue Details

This bug affects 2 person(s).
 12
IDProjectCategoryView StatusLast Update
20141Bug reportsAccessibilitypublic2025-06-18 12:36
Reportertassoman Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version6.6.x 
Summary20141: WCAG 2.2 failed pass Criterion 2.4.2 - Page titled
Description

This is a level A criterion for WCAG 2.2. So makes it a mayor accessibility error.
Every survey page, but also every administration back-office page, has the same page title. Page titles should be descriptive for better accessibility.

https://www.w3.org/TR/UNDERSTANDING-WCAG20/navigation-mechanisms-title.html

Steps To Reproduce

Steps to reproduce

Scenario 1 - survey participant

  1. create a paged survey
  2. configure various questions inside various groups of questions
  3. see the survey preview.
  4. see every survey page has the same title (title is the browser's tab name or browser's window title)

Scenario 2 - administration page

  1. Browse any administrative page.
  2. see: Every page have "Limsurvey Server Title" as <title>.

Expected result

Scenario 1

Every page should have a unique title, for example:

  • MySurvey title - MyLimesurvey Server
  • Registration - MySurvey title - MyLimesurvey Server
  • Welcome to MySurvey title - MyLimesurvey Server
  • First group title - MySurvey title - MyLimesurvey Server
  • Second group title - MySurvey title - MyLimesurvey Server
  • Third group title - MySurvey title - MyLimesurvey Server
  • Conclusion - MySurvey title - MyLimeSurvey Server

Scenario 2

Every page should have right <title> tag, for example:

  • Administration Dashboard - MyLimesurvey Server
  • Global Settings - Mylimesurvey Server
  • Themes - MyLimesurvey Server
  • Manage administrators - MyLimesurvey Server
  • Plugins - MyLimesurvey Server
  • Label sets - MyLimesurvey Server

Page titles should be translated in each language. <title> tag should be composed by H1 titlename and ServerName variables.

Tagsa11y, accessibility, admin, SuperAdministrator, survey
Attached Files
immagine.png (13,280 bytes)   
immagine.png (13,280 bytes)   
Bug heat12
Complete LimeSurvey version number (& build)6.10.0
I will donate to the project if issue is resolvedNo
Browserany
Database type & versionany
Server OS (if known)any
Webserver software & version (if known)any
PHP Version8.2

Users monitoring this issue

DenisChenu

Activities

DenisChenu

DenisChenu

2025-06-18 12:15

developer   ~82900

Yep, we really need more information to make better title !

Else : need error information too (see skelvanilla solution)

Including error notification information in the page title (future link)

https://www.w3.org/WAI/WCAG22/Techniques/general/G83.html

tassoman

tassoman

2025-06-18 12:27

reporter   ~82903

in my situation, {{ pagetitle }} is empty string inside (upload/themes/survey/mytheme/views/subviews/header/head.twig)

I also wrote this following code, but aGroup is not available variable inside that Twig template

{% if(aGroup.name) %}{{ processString(aGroup.name,1)}} - {% endif %}
DenisChenu

DenisChenu

2025-06-18 12:36

developer   ~82904

I use pagetitle only if it's not empty

I also wrote this following code, but aGroup is not available variable inside that Twig template

Yes, it's the point : I think we need , in surveying or elswhere ; sometthing like aSurveyInfo.currentStep

Current group information

  • (whole if All in one page
  • empty for register, token etc …
  • For save : maybe add current group, unsure

Current questions information

  • Whole from group if survey is group by group
  • current for question by question

Current step (with translation) : You can have it via {{ aSurveyInfo.include_content }} https://github.com/LimeSurvey/LimeSurvey/blob/0175cefbb6f797fa6e17cb559c152ecf06e59276/themes/survey/vanilla/views/layout_global.twig#L114

Issue History

Date Modified Username Field Change
2025-06-18 11:58 tassoman New Issue
2025-06-18 11:58 tassoman File Added: immagine.png
2025-06-18 11:59 tassoman Tag Attached: a11y
2025-06-18 11:59 tassoman Tag Attached: accessibility
2025-06-18 11:59 tassoman Tag Attached: survey
2025-06-18 11:59 tassoman Tag Attached: admin
2025-06-18 11:59 tassoman Tag Attached: SuperAdministrator
2025-06-18 12:10 DenisChenu Issue Monitored: DenisChenu
2025-06-18 12:10 DenisChenu Bug heat 0 => 8
2025-06-18 12:15 DenisChenu Note Added: 82900
2025-06-18 12:15 DenisChenu Bug heat 8 => 10
2025-06-18 12:27 tassoman Note Added: 82903
2025-06-18 12:27 tassoman Bug heat 10 => 12
2025-06-18 12:36 DenisChenu Note Added: 82904