diff --git a/elements/pf-table/pf-th.ts b/elements/pf-table/pf-th.ts index ed95cee6ed..0c01d28bc2 100644 --- a/elements/pf-table/pf-th.ts +++ b/elements/pf-table/pf-th.ts @@ -51,7 +51,7 @@ export class PfTh extends LitElement { const closestThead = this.closest('pf-thead'); const closestTable = this.closest('pf-table'); const isChildOfThead = !!closestThead && !!closestTable?.contains(closestThead); - const role = isChildOfThead ? 'colheader' : 'rowheader'; + const role = isChildOfThead ? 'columnheader' : 'rowheader'; this.setAttribute('role', role); } diff --git a/elements/pf-table/pf-tr.ts b/elements/pf-table/pf-tr.ts index 9193dba0ae..1e2626d7ec 100644 --- a/elements/pf-table/pf-tr.ts +++ b/elements/pf-table/pf-tr.ts @@ -110,6 +110,7 @@ export class PfTr extends LitElement {