Skip to content

Commit

Permalink
Fix #4214: Screenreader improve hidden accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jan 2, 2025
1 parent e630a39 commit 252dbc9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions packages/core/src/base/style/BaseStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,19 +127,18 @@ 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;
opacity: 0;
pointer-events: none;
position: absolute;
white-space: nowrap;
width: 1px;
}
.p-hidden-accessible input,
.p-hidden-accessible select {
transform: scale(0);
height: 1px;
width: 1px;
}
.p-overflow-hidden {
Expand Down

0 comments on commit 252dbc9

Please sign in to comment.