From cf67a16f09554ce8ebb6ce423232f7d88d5979be Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Fri, 27 Nov 2026 15:36:35 +1000 Subject: [PATCH] TINYDOC-3706: Screen readers announced URL fields in dialogs as invalid for relative URLs, anchors, URLs without a scheme or partial input. The `urlinput` component now uses `type="text"` with `inputmode="url"` instead of `type="url"`. --- modules/ROOT/pages/8.11.1-release-notes.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ROOT/pages/8.11.1-release-notes.adoc b/modules/ROOT/pages/8.11.1-release-notes.adoc index 027e5fb13f..14c9fbef05 100644 --- a/modules/ROOT/pages/8.11.1-release-notes.adoc +++ b/modules/ROOT/pages/8.11.1-release-notes.adoc @@ -160,6 +160,13 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a // CCFR here. +=== Screen readers announced URL fields in dialogs as invalid for relative URLs, anchors, URLs without a scheme or partial input. The `+urlinput+` component now uses `+type="text"+` with `+inputmode="url"+` instead of `+type="url"+`. +// #TINYMCE-15099 + +Previously, URL fields in dialogs, such as the *URL* field in the Link dialog, used the native `++` element. The browser treated any value that was not an absolute URL, such as `+https://tiny.cloud+`, as invalid, so screen readers announced "invalid entry" for anchors, relative paths, URLs without a scheme, and partial input. Screen readers also announced valid values selected from the dropdown as invalid. The issue affected the Link, Image, Media, and Page Embed dialogs, and custom dialogs that use the xref:dialog-components.adoc#urlinput[`+urlinput+`] component. + +In {productname} {release-version}, the `+urlinput+` component renders a text input with the `+inputmode="url"+`, `+autocapitalize="none"+`, `+autocorrect="off"+`, and `+spellcheck="false"+` attributes. Only the editor's validator can now mark the field as invalid, so screen readers no longer announce valid values as invalid. On mobile devices, the field keeps the behavior of a native URL field, including the URL keyboard layout. Custom CSS or test selectors that target `+input[type="url"]+` no longer match these fields. + [[security-fixes]] == Security fixes