File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export class PfTh extends LitElement {
5151 const closestThead = this . closest ( 'pf-thead' ) ;
5252 const closestTable = this . closest ( 'pf-table' ) ;
5353 const isChildOfThead = ! ! closestThead && ! ! closestTable ?. contains ( closestThead ) ;
54- const role = isChildOfThead ? 'colheader ' : 'rowheader' ;
54+ const role = isChildOfThead ? 'columnheader ' : 'rowheader' ;
5555 this . setAttribute ( 'role' , role ) ;
5656 }
5757
Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ export class PfTr extends LitElement {
110110 < pf-button id ="toggle-button "
111111 aria-expanded =${ String ( this . expanded ) as 'true' | 'false' }
112112 plain
113+ role ="button "
114+ aria-label ="Expand Button "
113115 @click =${ this . #onClick} >
114116 < pf-icon id ="toggle-icon "
115117 icon ="angle-right "
You can’t perform that action at this time.
0 commit comments