Skip to content

Commit

Permalink
Fix primefaces#4214: Screenreader improve hidden accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jan 1, 2025
1 parent e630a39 commit fb883a4
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions packages/core/src/base/style/BaseStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,19 +127,10 @@ const theme = ({ dt }) => `

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

0 comments on commit fb883a4

Please sign in to comment.