Skip to content

Commit 34c03c3

Browse files
committed
oops
1 parent c6a8147 commit 34c03c3

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ export function check_element(node, context) {
389389
case 'button': {
390390
const is_hidden =
391391
get_static_value(attribute_map.get('aria-hidden')) === 'true' ||
392-
get_static_value(attribute_map.get('inert')) === null;
392+
get_static_value(attribute_map.get('inert')) !== null;
393393

394394
if (!has_spread && !is_hidden && !is_labelled && !has_content(node)) {
395395
w.a11y_consider_explicit_label(node);

0 commit comments

Comments
 (0)