Skip to content

Commit f5b74ff

Browse files
authored
bug(docs): fix styling hooks table markup for a11y (#4705)
* bug(docs): fix styling hooks table markup for a11y * bug(docs): whoops * bug(docs): seriously, whitespace
1 parent cb0ee2c commit f5b74ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shared/components/StylingHooksTable.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const formatType = type => {
3636
class StylingHooksTable extends Component {
3737
render() {
3838
const { name, type } = this.props;
39-
39+
4040
let vars;
4141
try {
4242
vars = require(`../../.generated/metadata/${type}s/${name}/styling-hooks.json`);
@@ -101,13 +101,13 @@ class StylingHooksTable extends Component {
101101
})}
102102
>
103103
{ii === 0 ? (
104-
<td
104+
<th
105105
className="hooks-table__col-category"
106106
scope="rowgroup"
107107
rowSpan={categoryVars.length}
108108
>
109109
{category}
110-
</td>
110+
</th>
111111
) : null}
112112
<td>
113113
<div className="slds-grid">

0 commit comments

Comments
 (0)