Skip to content

Commit

Permalink
Resourceadm: use module classname instead of global classname for sr-…
Browse files Browse the repository at this point in the history
…only class (#13429)
  • Loading branch information
mgunnerud authored Aug 29, 2024
1 parent bc4ee37 commit 17d5672
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
width: 45%;
}

.sr-only {
.srOnly {
position: absolute;
width: 1px;
height: 1px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const AccessListMembersTable = ({
headerCellClass: cn(hiddenHeaderClassName, classes.smallColumn),
bodyCellFormatter: (value: string) => (
<>
<div className='sr-only'>{stringNumberToAriaLabel(value)}</div>
<div className={classes.srOnly}>{stringNumberToAriaLabel(value)}</div>
<div aria-hidden='true'>{value}</div>
</>
),
Expand Down

0 comments on commit 17d5672

Please sign in to comment.