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 5079fb1 commit 7e32c97Copy full SHA for 7e32c97
highlight-helper.js
@@ -1273,6 +1273,7 @@ if (isTouchDevice && isWebKit) {
1273
tempInput.style.fontSize = '16px'; // Prevent page zoom on input focus
1274
tempInput.inputMode = 'none'; // Don't show keyboard
1275
tempInput.tabIndex = -1; // Prevent user from tabbing to input
1276
+ tempInput.ariaHidden = 'true'; // Hide from screen readers
1277
const initializeSelection = (event) => {
1278
if (document.readyState !== 'complete') return setTimeout(initializeSelection, 20);
1279
if (!tempInput.parentElement) document.body.append(tempInput);
0 commit comments