We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5940f37 commit 7f189aeCopy full SHA for 7f189ae
2 files changed
elements/pf-table/pf-th.ts
@@ -51,7 +51,7 @@ export class PfTh extends LitElement {
51
const closestThead = this.closest('pf-thead');
52
const closestTable = this.closest('pf-table');
53
const isChildOfThead = !!closestThead && !!closestTable?.contains(closestThead);
54
- const role = isChildOfThead ? 'colheader' : 'rowheader';
+ const role = isChildOfThead ? 'columnheader' : 'rowheader';
55
this.setAttribute('role', role);
56
}
57
elements/pf-table/pf-tr.ts
@@ -110,6 +110,7 @@ export class PfTr extends LitElement {
110
<pf-button id="toggle-button"
111
aria-expanded=${String(this.expanded) as 'true' | 'false'}
112
plain
113
+ label="Expand Button"
114
@click=${this.#onClick}>
115
<pf-icon id="toggle-icon"
116
icon="angle-right"
0 commit comments