diff --git a/components/lib/componentbase/ComponentBase.js b/components/lib/componentbase/ComponentBase.js index a5a9c9a66c..a4399507e3 100644 --- a/components/lib/componentbase/ComponentBase.js +++ b/components/lib/componentbase/ComponentBase.js @@ -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 {