File tree 10 files changed +40
-40
lines changed
survey-angular-ui/src/questions
10 files changed +40
-40
lines changed Original file line number Diff line number Diff line change 1
1
< ng-template #template >
2
2
< div [class] ="model.cssClasses.tableWrapper " #contentElement >
3
- < fieldset >
4
- < legend class ="sv-hidden "> {{model.locTitle.renderedHtml}}</ legend >
5
- < table [class] ="model.getTableCss() ">
6
- < thead *ngIf ="model.showHeader ">
3
+ < fieldset role =" radiogroup " >
4
+ < legend class ="sv-visuallyhidden "> {{model.locTitle.renderedHtml}}</ legend >
5
+ < table [class] ="model.getTableCss() " role =" presentation " >
6
+ < thead *ngIf ="model.showHeader " role =" presentation " >
7
7
< tr >
8
8
< td *ngIf ="model.hasRows "> </ td >
9
9
< th
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export class SurveyQuestionMatrix extends SurveyQuestionElementBase {
67
67
) ;
68
68
}
69
69
var header = ! this . question . showHeader ? null : (
70
- < thead >
70
+ < thead role = "presentation" >
71
71
< tr >
72
72
{ rowsTH }
73
73
{ headers }
@@ -79,9 +79,9 @@ export class SurveyQuestionMatrix extends SurveyQuestionElementBase {
79
79
className = { cssClasses . tableWrapper }
80
80
ref = { root => ( this . setControl ( root ) ) }
81
81
>
82
- < fieldset >
83
- < legend className = "sv-hidden " > { this . question . locTitle . renderedHtml } </ legend >
84
- < table className = { this . question . getTableCss ( ) } >
82
+ < fieldset role = "radiogroup" >
83
+ < legend className = "sv-visuallyhidden " > { this . question . locTitle . renderedHtml } </ legend >
84
+ < table className = { this . question . getTableCss ( ) } role = "presentation" >
85
85
{ header }
86
86
< tbody > { rows } </ tbody >
87
87
</ table >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div :class =" question.cssClasses.tableWrapper" ref =" root" >
3
- <fieldset >
4
- <legend class =" sv-hidden " >{{ question.locTitle.renderedHtml }}</legend >
5
- <table :class =" question.getTableCss()" >
6
- <thead v-if =" question.showHeader" >
3
+ <fieldset role = " radiogroup " >
4
+ <legend class =" sv-visuallyhidden " >{{ question.locTitle.renderedHtml }}</legend >
5
+ <table :class =" question.getTableCss()" role = " presentation " >
6
+ <thead v-if =" question.showHeader" role = " presentation " >
7
7
<tr >
8
8
<td v-if =" question.hasRows" ></td >
9
9
<th
Original file line number Diff line number Diff line change 1
1
< div class ="sd-matrix sd-table-wrapper ">
2
- < fieldset >
3
- < legend class ="sv-hidden "> matrix</ legend >
4
- < table class ="sd-matrix__table sd-table sd-table--align-middle sd-table--columnsautowidth ">
5
- < thead >
2
+ < fieldset role =" radiogroup " >
3
+ < legend class ="sv-visuallyhidden "> matrix</ legend >
4
+ < table class ="sd-matrix__table sd-table sd-table--align-middle sd-table--columnsautowidth " role =" presentation " >
5
+ < thead role =" presentation " >
6
6
< tr >
7
7
< th class ="sd-table__cell sd-table__cell--header ">
8
8
< span class ="sv-string-viewer "> col_1</ span >
Original file line number Diff line number Diff line change 1
1
< div class ="sd-matrix sd-table-wrapper ">
2
- < fieldset >
3
- < legend class ="sv-hidden "> matrix</ legend >
4
- < table class ="sd-matrix__table sd-table sd-table--align-middle ">
5
- < thead >
2
+ < fieldset role =" radiogroup " >
3
+ < legend class ="sv-visuallyhidden "> matrix</ legend >
4
+ < table class ="sd-matrix__table sd-table sd-table--align-middle " role =" presentation " >
5
+ < thead role =" presentation " >
6
6
< tr >
7
7
< td >
8
8
</ td >
Original file line number Diff line number Diff line change 1
1
< div class ="sd-matrix sd-table-wrapper ">
2
- < fieldset >
3
- < legend class ="sv-hidden "> matrix</ legend >
4
- < table class ="sd-matrix__table sd-table sd-table--align-middle sd-table--columnsautowidth ">
5
- < thead >
2
+ < fieldset role =" radiogroup " >
3
+ < legend class ="sv-visuallyhidden "> matrix</ legend >
4
+ < table class ="sd-matrix__table sd-table sd-table--align-middle sd-table--columnsautowidth " role =" presentation " >
5
+ < thead role =" presentation " >
6
6
< tr >
7
7
< td >
8
8
</ td >
Original file line number Diff line number Diff line change 1
1
< div class ="sd-matrix sd-table-wrapper ">
2
- < fieldset >
3
- < legend class ="sv-hidden "> matrix</ legend >
4
- < table class ="sd-matrix__table sd-table sd-table--align-middle sd-table--columnsautowidth ">
5
- < thead >
2
+ < fieldset role =" radiogroup " >
3
+ < legend class ="sv-visuallyhidden "> matrix</ legend >
4
+ < table class ="sd-matrix__table sd-table sd-table--align-middle sd-table--columnsautowidth " role =" presentation " >
5
+ < thead role =" presentation " >
6
6
< tr >
7
7
< td >
8
8
</ td >
Original file line number Diff line number Diff line change 1
1
< div class ="sd-matrix sd-table-wrapper ">
2
- < fieldset >
3
- < legend class ="sv-hidden "> matrix</ legend >
4
- < table class ="sd-matrix__table sd-table sd-table--align-middle sd-table--columnsautowidth ">
5
- < thead >
2
+ < fieldset role =" radiogroup " >
3
+ < legend class ="sv-visuallyhidden "> matrix</ legend >
4
+ < table class ="sd-matrix__table sd-table sd-table--align-middle sd-table--columnsautowidth " role =" presentation " >
5
+ < thead role =" presentation " >
6
6
< tr >
7
7
< td >
8
8
</ td >
Original file line number Diff line number Diff line change 1
1
< div class ="sd-matrix sd-table-wrapper ">
2
- < fieldset >
3
- < legend class ="sv-hidden "> matrix</ legend >
4
- < table class ="sd-matrix__table sd-table sd-table--align-middle sd-table--columnsautowidth ">
5
- < thead >
2
+ < fieldset role =" radiogroup " >
3
+ < legend class ="sv-visuallyhidden "> matrix</ legend >
4
+ < table class ="sd-matrix__table sd-table sd-table--align-middle sd-table--columnsautowidth " role =" presentation " >
5
+ < thead role =" presentation " >
6
6
< tr >
7
7
< td >
8
8
</ td >
Original file line number Diff line number Diff line change 1
1
< div class ="sd-matrix sd-table-wrapper ">
2
- < fieldset >
3
- < legend class ="sv-hidden "> matrix</ legend >
4
- < table class ="sd-matrix__table sd-table sd-table--align-middle sd-table--columnsautowidth ">
5
- < thead >
2
+ < fieldset role =" radiogroup " >
3
+ < legend class ="sv-visuallyhidden "> matrix</ legend >
4
+ < table class ="sd-matrix__table sd-table sd-table--align-middle sd-table--columnsautowidth " role =" presentation " >
5
+ < thead role =" presentation " >
6
6
< tr >
7
7
< td >
8
8
</ td >
You can’t perform that action at this time.
0 commit comments