Skip to content

Commit

Permalink
Update Table.js
Browse files Browse the repository at this point in the history
Removed irrelevant aria-label which was used on every table. CAption is enough to describe the table.
  • Loading branch information
laurakarhu committed Feb 7, 2025
1 parent 940180f commit dde7c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/components/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Table = (props) => {

return (
<div className="hds-table-container" tabIndex="0" style={{ marginBottom: 'var(--spacing-layout-xs)' }}>
<table className="hds-table hds-table--dark" aria-label="Service users (dark variant)">
<table className="hds-table hds-table--dark">
{tableName && caption && (
<caption className="hds-table__caption">
<b>{tableName}</b>: {caption}
Expand Down

0 comments on commit dde7c1b

Please sign in to comment.