Skip to content

Commit e623821

Browse files
authored
Update A11y.tsx
1 parent 5baad98 commit e623821

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/A11y.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const A11y: React.FC<Props> = ({
112112

113113
const HtmlFocusableElement = (() => {
114114
if (role === 'button') {
115-
if (desactivationMsg) {
115+
if (desactivationMsg || pressedDescription) {
116116
//btn has two distinct state
117117
return (
118118
<button

0 commit comments

Comments
 (0)