View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20049Bug reportsAccessibilitypublic2025-04-10 15:14
ReporterOMdev Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version6.6.x 
Summary20049: When the question error appears, the screen reader does not read out the error — that is a major problem.
Description

This issue refers to a lack of accessibility for users who rely on screen readers. When a user encounters an error while answering a question (such as missing required fields or entering invalid input), the error message is displayed visually but not announced by the screen reader. As a result, visually impaired users may not realize that an error has occurred or what action is needed to correct it. Ensuring that screen readers can detect and announce error messages is essential for creating an inclusive and accessible user experience.

Steps To Reproduce

Steps to Reproduce

  1. Create a dummy survey.
  2. Add a dummy question and make it mandatory.
  3. Run the survey, leave the required question unanswered, and press the 'Next' button. You will notice that the error message appears, but the screen reader does not read it out.

Expected Result

The screen reader should read out the error messages when validation fails.

Actual Result

The screen reader does not read out the error messages, making it inaccessible for users relying on assistive technology.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)Version 6.5.2+240402
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionNA
Server OS (if known)
Webserver software & version (if known)
PHP VersionNA

Relationships

related to 19648 new Add question help, Expressin dynamic help to aria-describedby 

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2025-04-05 13:55

updater   ~82375

@DenisChenu, this may be of interest for you as well. We had a client testing their survey for accessibility standards. If there are multiple unanswered mandatory questions, the screen reader reads the errors in one go and the reference to the affected question is missing so you do not really know which question to check.
We have not beenn able to fix this at theme level.

Mazi

Mazi

2025-04-10 10:35

updater   ~82409

@tibor.pacalat, we can reproduce this issues. We were even told by some Limesurvey users that due to strict WCAG regulations this is a show stopper for their projects.
Maybe you can assign this to @DenisChenu, he knows WCAG details very well.

DenisChenu

DenisChenu

2025-04-10 15:13

developer   ~82411

There are 2 solution

  1. use aria-described : https://gitlab.com/SondagesPro/SurveyThemes/skelvanilla_ls6/-/commit/82fc6563786364cad5a54e3558af910c8705f91e is a (working) woraround. It work really good, but it must come from core (already reported)
  2. Add help inside id="ls-question-text-{{ aQuestion.SGQ }}" (already arelabelled-by) i see a beautifull theme using fieldset + legend and legend are the id="ls-question-text-{{ aQuestion.SGQ }}" and contain help

Unsure on the best choice.

Skelvanilla 6 don't have all previous feature (skelvanilla 5) but this one work.

DenisChenu

DenisChenu

2025-04-10 15:14

developer   ~82412

https://bugs.limesurvey.org/view.php?id=19648

Issue History

Date Modified Username Field Change
2025-04-05 12:03 OMdev New Issue
2025-04-05 13:55 Mazi Note Added: 82375
2025-04-05 13:55 Mazi Bug heat 0 => 2
2025-04-10 10:35 Mazi Note Added: 82409
2025-04-10 15:13 DenisChenu Note Added: 82411
2025-04-10 15:13 DenisChenu Bug heat 2 => 4
2025-04-10 15:14 DenisChenu Note Added: 82412
2025-04-10 15:14 DenisChenu Relationship added related to 19648