Skip to content

Commit

Permalink
Fix primefaces#7180 Screenreader improve hidden accessible (primeface…
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Jan 2, 2025
1 parent c6be137 commit 5a976c4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions components/lib/componentbase/ComponentBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,17 @@ import { ObjectUtils, classNames, mergeProps } from '../utils/Utils';

const baseStyle = `
.p-hidden-accessible {
position: absolute;
pointer-events: none;
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
opacity: 0;
overflow: hidden;
padding: 0;
pointer-events: none;
position: absolute;
white-space: nowrap;
width: 1px;
}
.p-overflow-hidden {
Expand Down

0 comments on commit 5a976c4

Please sign in to comment.