We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b914f86 commit f8e620fCopy full SHA for f8e620f
core/src/utils/overlays.ts
@@ -983,13 +983,14 @@ const hideAnimatingOverlayFromScreenReaders = (overlay: HTMLIonOverlayElement) =
983
const mode = getIonMode(overlay);
984
console.log('mode', mode);
985
986
- // if (mode === 'md') {
987
- // /**
988
- // * Once the animation is complete, this attribute will be removed.
989
- // * This is done at the end of the `present` method.
990
- // */
991
- // overlay.setAttribute('aria-hidden', 'true');
992
- // }
+ if (mode === 'md') {
+ console.log('in md');
+ /**
+ * Once the animation is complete, this attribute will be removed.
+ * This is done at the end of the `present` method.
+ */
+ overlay.setAttribute('aria-hidden', 'true');
993
+ }
994
};
995
996
/**
0 commit comments