← Back to release summary

Policy-controlled feature `manual-text`

Category
User input
Type
New or changed feature
Status
Proposed (Chrome Proposed)
Intent stage
None

Summary

The policy-controlled feature `manual-text` indicates whether it is safe to dispatch text events in embedded documents. Disabling `manual-text` in an iframe signals to the user agent that the embedded document should not receive text input. The user may warn before dispatching text-producing events such as keyboard or paste events, or suppress them entirely. A related feature is `autofill`: https://chromestatus.com/feature/5066686516953088

Motivation

This specification improves data security: For end users, it is often difficult to recognize third-party documents as such, let alone to identify the third party and reason about its trustworthiness. With the policy-controlled feature `manual-text`, the embedding document expresses whether it considers an embedded document trustworthy for user text input. The browser can use this to warn the user when they are about to enter text in an untrusted document, or it may directly block the dispatch of these events. Text-producing events include most keyboard events, paste events, and drop events. They exclude keyboard events that are not commonly used to enter meaningful text, such as navigation keys or the space key. Today, documents have no way of preventing an embedded document from receiving text input short of sandboxing the frame.

Standards & signals

Ecosystem

Explainers: https://github.com/explainers-by-googlers/safe-text-input/blob/main/manual-text.md

View on chromestatus.com