Skip to content

Commit

Permalink
Merge pull request #6164 from melloware/pr6163
Browse files Browse the repository at this point in the history
Fix #6163: p-hidden-accessible modernization
  • Loading branch information
gucal authored Apr 9, 2024
2 parents ea2a8c5 + 1cb1d5c commit d8103c5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions components/lib/componentbase/ComponentBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ import { ObjectUtils, classNames, mergeProps } from '../utils/Utils';
const baseStyle = `
.p-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
margin: -1px;
position: absolute;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
white-space: nowrap;
}
.p-hidden-accessible input,
Expand Down

0 comments on commit d8103c5

Please sign in to comment.