Skip to content

Commit

Permalink
storage: Shut up Patternfly
Browse files Browse the repository at this point in the history
Patternfly complains about empty "Th" elements, but a empty "Td" looks
just the same and since we hide it anyway it doesn't hurt
accessibility to use the wrong kind here.

See https://github.com/patternfly/patternfly/issues/6658
  • Loading branch information
mvollmer committed May 16, 2024
1 parent 53d86bc commit de52b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storaged/pages.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ export const PageTable = ({ emptyCaption, aria_label, pages, crossrefs, sorted,
{ pages &&
<Thead>
<Tr>
{ show_icons && <Th aria-hidden="true" />}
{ show_icons && <Td aria-hidden="true" /> }
<Th scope="col">{_("ID")}</Th>
<Th scope="col">{_("Type")}</Th>
<Th scope="col">{_("Location")}</Th>
Expand Down

0 comments on commit de52b45

Please sign in to comment.