Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1985776

Browse files
fix: prevent aria-hidden on focusable elements (#1067)
1 parent e3ffe00 commit 1985776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎packages/floating-vue/src/components/PopperContent.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
position: result.strategy,
2323
transform: `translate3d(${Math.round(result.x)}px,${Math.round(result.y)}px,0)`,
2424
} : undefined"
25-
:aria-hidden="shown ? 'false' : 'true'"
25+
:aria-hidden="shown || autoHide ? 'false' : 'true'"
2626
:tabindex="autoHide ? 0 : undefined"
2727
:data-popper-placement="result ? result.placement : undefined"
2828
@keyup.esc="autoHide && $emit('hide')"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /