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 22, 2024
1 parent cd6144e commit cc1f518
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 cc1f518

Please sign in to comment.