View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 10163 | Bug reports | public | 2015-12-17 17:51 | 2018-02-16 15:54 | |
| Reporter | cortxdp | Assigned To | DenisChenu | ||
| Priority | normal | Severity | crash | ||
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 3.x | ||||
| Summary | 10163: Radio button table - Screen raders do not read table row headers | ||||
| Description | I found a problem while testing radio table (type F) for accessibility issues. Normally when we navigate withing a data table, headers are read when we are changing columns or row. For example, when we are changing row, screen reader is reading the new row header but not the column headers. The problem is when we include forms controls (radio button) in the table. Screen readers (I'm using NVDA) switch to "form navigation" and do not consider table headers anymore. It only reads the label. The logic solution : Others solutions :
I’m open to suggestions/comment. Many thanks. P.S. for some reasons, the checkbox table is not working the same way. NVDA is reading row headers | ||||
| Tags | answers_html | ||||
| Attached Files | radiotable.txt (3,468 bytes)
<fieldset form="limesurvey" class="fixfieldset"> <legend><div class="question-moved">Ça c'est la question?</div><div class="help-moved"></div><div class="man_message-moved"></div><div class="valid_message-moved"><div class="questionhelp" id="vmsg_150"></div></div><div class="file_valid_message-moved"></div></legend> <table class="question subquestions-list questions-list " summary="Un tableaux avec les sous questions sur chaque ligne. Les réponses sont les entêtes de colonnes."> <colgroup class="col-responses"> <col class="col-answers" width="20%" /> <col class="odd" width="26.7%" /> <col class="even" width="26.7%" /> <col class="odd" width="26.7%" /> </colgroup> <thead><tr class="dontread"> <td> </td> <th id="C01">Oui</th> <th id="C02">Non</th> <th id="C03">Peut-être</th> </tr></thead> <tbody> <tr id='javatbd335266X81X1501' class='array2 answers-list radio-list'> <th class="answertext" id="L01"> Question 1<input type="hidden" name="java335266X81X1501" id="java335266X81X1501" value="" /> </th> <td class="answer_cell_00A1 answer-item radio-item" > <input aria-labelledby="L01 C01" class="radio" type="radio" name="335266X81X1501" value="A1" id="answer335266X81X1501-A1" onclick="checkconditions(this.value, this.name, this.type)" /> <!-- <label class="hide read" for="answer335266X81X1501-A1">Oui</label> --> </td> <td class="answer_cell_00A2 answer-item radio-item" > <input aria-labelledby="L01 C02" class="radio" type="radio" name="335266X81X1501" value="A2" id="answer335266X81X1501-A2" onclick="checkconditions(this.value, this.name, this.type)" /> <!--<label class="hide read" for="answer335266X81X1501-A2">Non</label> --> </td> <td class="answer_cell_00A3 answer-item radio-item" > <input aria-labelledby="L01 C03" class="radio" type="radio" name="335266X81X1501" value="A3" id="answer335266X81X1501-A3" onclick="checkconditions(this.value, this.name, this.type)" /> <!--<label class="hide read" for="answer335266X81X1501-A3">Peut-être</label> --> </td> </fieldset> </tr> <tr id='javatbd335266X81X1502' class='array1 answers-list radio-list'> <th class="answertext" id="L02"> Question 2<input type="hidden" name="java335266X81X1502" id="java335266X81X1502" value="" /> </th> <td class="answer_cell_00A1 answer-item radio-item"> <input aria-labelledby="L02 C01" class="radio" type="radio" name="335266X81X1502" value="A1" id="answer335266X81X1502-A1" onclick="checkconditions(this.value, this.name, this.type)" /> <!--<label class="hide read" for="answer335266X81X1502-A1">Oui</label>--> </td> <td class="answer_cell_00A2 answer-item radio-item"> <input aria-labelledby="L02 C02" class="radio" type="radio" name="335266X81X1502" value="A2" id="answer335266X81X1502-A2" onclick="checkconditions(this.value, this.name, this.type)" /> <!--<label class="hide read" for="answer335266X81X1502-A2">Non</label>--> </td> <td class="answer_cell_00A3 answer-item radio-item"> <input aria-labelledby="L02 C03" class="radio" type="radio" name="335266X81X1502" value="A3" id="answer335266X81X1502-A3" onclick="checkconditions(this.value, this.name, this.type)" /> <!--<label class="hide read" for="answer335266X81X1502-A3">Peut-être</label>--> </td> </tr> </tbody> </table> </fieldset> | ||||
| Bug heat | 10 | ||||
| Complete LimeSurvey version number (& build) | |||||
| I will donate to the project if issue is resolved | |||||
| Browser | |||||
| Database type & version | |||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | |||||
| Git branch / Pull Request URL | |||||
|
Hi, Actually : each cell have a label inside with "hide" class. The default hide class (included in survey) put it outside of screen, but screen reader must read it. For aria label solution : Did this work : http://accessible.sondages.pro/49728 ? I don't use aria-labelled-by for radio button, but i use:
Seems the best way, no ? |
|
|
Hi, I tested your example and it works like a charm. Adding the role="radiogroup" and the labelledby on the tr is a solution I didn't think of. Can this solution be integrated in the core anytime soon? Many thanks |
|
|
After 2.5 is realeased as stable or for 2.5 stable release. |
|
|
I think I am running into a similar problem when I posted it in the following thread as well.. but I haven't had any response yet. |
|
|
IS this bugreport for LS 2.5 or LS 2.06? The ticket isn't showing any version. |
|
|
Yes : actually read only the label : then the 'answer', not the sub question. And more : using only tab key : a screen reader don't read question text or help. Maybe it's not exactly the same issue , but still a lot of issue in 2.50 for accessibility in public part. |
|
|
For 3.0 :
Then : think we can not do more :) |
|
|
Adding role=group + role=radiogroup + aria-describedby + aria-labelledby |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-12-17 17:51 | cortxdp | New Issue | |
| 2015-12-17 17:51 | cortxdp | File Added: radiotable.txt | |
| 2015-12-18 16:47 | cortxdp | Issue Monitored: cortxdp | |
| 2015-12-18 18:36 | DenisChenu | Note Added: 34063 | |
| 2015-12-21 17:52 | cortxdp | Note Added: 34075 | |
| 2015-12-21 18:39 | DenisChenu | Note Added: 34079 | |
| 2015-12-21 18:40 | DenisChenu | Status | new => confirmed |
| 2016-06-03 18:04 | n2xek | Note Added: 39221 | |
| 2016-06-08 08:36 | jelo | Note Added: 39309 | |
| 2016-06-08 08:46 | DenisChenu | Note Added: 39310 | |
| 2016-09-16 08:44 | DenisChenu | Tag Attached: answers_html | |
| 2016-09-16 08:47 | DenisChenu | Note Added: 40795 | |
| 2016-09-16 08:48 | DenisChenu | Assigned To | => DenisChenu |
| 2016-09-16 08:48 | DenisChenu | Status | confirmed => assigned |
| 2016-10-05 17:48 | DenisChenu | Status | assigned => resolved |
| 2016-10-05 17:48 | DenisChenu | Resolution | open => fixed |
| 2016-10-05 17:48 | DenisChenu | Fixed in Version | => 3.x |
| 2016-10-05 17:48 | DenisChenu | Note Added: 41151 | |
| 2018-02-16 15:54 | c_schmitz | Status | resolved => closed |
| 2026-11-20 10:33 | c_schmitz | Category | Accessibility => (No Category) |